Critical severity9.8NVD Advisory· Published Jul 4, 2022· Updated Jun 17, 2026
CVE-2022-33171
CVE-2022-33171
Description
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
typeormnpm | < 0.3.0 | 0.3.0 |
Affected products
3Patches
Vulnerability mechanics
References
6- packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.htmlnvdExploitThird Party AdvisoryVDB EntryWEB
- seclists.org/fulldisclosure/2022/Jun/51nvdExploitMailing ListThird Party AdvisoryWEB
- seclists.org/fulldisclosure/2022/Aug/7nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-fx4w-v43j-vc45ghsaADVISORY
- github.com/typeorm/typeorm/compare/0.2.45...0.3.0nvdRelease NotesThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-33171ghsaADVISORY
News mentions
0No linked articles in our index yet.