CVE-2022-33171
CRITICAL9.8EPSS 5.3%SQL injection in typeORM
發布日:2022/7/5修改日:2024/3/21
描述
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.
受影響套件(1)
- npm/typeormfrom 0, < 0.3.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-33171
- WEBhttp://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html
- WEBhttp://seclists.org/fulldisclosure/2022/Aug/7
- WEBhttps://github.com/typeorm/typeorm/compare/0.2.45...0.3.0
- WEBhttps://seclists.org/fulldisclosure/2022/Jun/51