QID 997801
Date Published: 2024-03-26
QID 997801: NodeJs (Npm) Security Update for typeorm (GHSA-fx4w-v43j-vc45)
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.
Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.
Solution
Refer to Github security advisory GHSA-fx4w-v43j-vc45 for updates and patch information.
Vendor References
- GHSA-fx4w-v43j-vc45 -
github.com/advisories/GHSA-fx4w-v43j-vc45
CVEs related to QID 997801
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-fx4w-v43j-vc45 | typeorm |
|