9.8
CVSSv3

CVE-2022-33171

Published: 04/07/2022 Updated: 17/05/2024
CVSS v2 Base Score: 7.5 | Impact Score: 6.4 | Exploitability Score: 10
CVSS v3 Base Score: 9.8 | Impact Score: 5.9 | Exploitability Score: 3.9
VMScore: 668
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Summary

The findOne function in TypeORM prior to 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

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

typeorm typeorm

Exploits

TypeORM versions prior to 030 suffer from a remote SQL injection vulnerability in the findOne function ...