GHSA-fx4w-v43j-vc45

ghsaUSosv

SQL injection in typeORM

view advisory published 2022-07-05Licence: CC-BY-4.0

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2022-33171UScritical9.8Exploit
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, su…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan