CVE-2022-33171

** 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
http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html Exploit Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2022/Aug/7 Mailing List Third Party Advisory
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

Configuration 1 (hide)

cpe:2.3:a:typeorm:typeorm:*:*:*:*:*:node.js:*:*

History

18 Oct 2022, 20:58

Type Values Removed Values Added
References (MISC) http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html - (MISC) http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html - Exploit, Third Party Advisory, VDB Entry
References (FULLDISC) http://seclists.org/fulldisclosure/2022/Aug/7 - (FULLDISC) http://seclists.org/fulldisclosure/2022/Aug/7 - Mailing List, Third Party Advisory

16 Aug 2022, 18:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html -

16 Aug 2022, 06:15

Type Values Removed Values Added
References
  • (FULLDISC) http://seclists.org/fulldisclosure/2022/Aug/7 -

13 Jul 2022, 15:49

Type Values Removed Values Added
CPE cpe:2.3:a:typeorm:typeorm:*:*:*:*:*:node.js:*:*
References (MISC) https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0 - (MISC) https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0 - Release Notes, Third Party Advisory
References (MISC) https://seclists.org/fulldisclosure/2022/Jun/51 - (MISC) https://seclists.org/fulldisclosure/2022/Jun/51 - Exploit, Mailing List, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
CWE CWE-89

04 Jul 2022, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-07-04 16:15

Updated : 2024-04-11 01:15


NVD link : CVE-2022-33171

Mitre link : CVE-2022-33171

CVE.ORG 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')