** DISPUTED ** 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.
References
| Link | Resource |
|---|---|
| https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0 | Release Notes Third Party Advisory |
| https://seclists.org/fulldisclosure/2022/Jun/51 | Exploit Mailing List Third Party Advisory |
Configurations
Information
Published : 2022-07-04 16:15
Updated : 2022-07-13 15:49
NVD link : CVE-2022-33171
Mitre link : CVE-2022-33171
JSON object : View
Products Affected
typeorm
- typeorm
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
