Tóm tắt nhanh
- CVE-2022-33171 là lỗ hổng mức NGHIÊM TRỌNG (CVSS 9.8) ảnh hưởng typeorm (typeorm), typeorm.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 21.4%, cao hơn 97.6% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 0.3.0 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| typeorm | < 0.3.0
| 0.3.0
|
| typeorm npm | < 0.3.0
| 0.3.0
|
Mô tả
The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a FindOneOptions object. When input to the function is a user-controlled parsed JSON object, supplying a crafted FindOneOptions instead of an id string leads to SQL injection. NOTE: the vendor's position is that the user's application is responsible for input validation.
Mô tả của NVD
The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a FindOneOptions object. When input to the function is a user-controlled parsed JSON object, supplying a crafted FindOneOptions instead of an id string leads to SQL injection. NOTE: the vendor's position is that the user's application is responsible for input validation
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí