CVE-2022-33171
Last modified
CVE-2022-33171 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 20.30% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Typeorm | Typeorm | < 0.3.0 |
References
- http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.htmlExploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2022/Aug/7Mailing List, Third Party Advisory
- https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0Release Notes, Third Party Advisory
- https://seclists.org/fulldisclosure/2022/Jun/51Exploit, Mailing List, Third Party Advisory
- http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.htmlExploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2022/Aug/7Mailing List, Third Party Advisory
- https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0Release Notes, Third Party Advisory
- https://seclists.org/fulldisclosure/2022/Jun/51Exploit, Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-33171?
How severe is CVE-2022-33171?
How do I fix CVE-2022-33171?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-33165IBM Security Directory Server 6.4.0 could allow a remote att…7.5
- CVE-2022-33166IBM Security Directory Suite VA 8.0.1 through 8.0.1.19 could…7.2
- CVE-2022-33167IBM Security Directory Integrator 7.2.0 and IBM Security Ver…7.5
- CVE-2022-33168IBM Security Directory Suite VA 8.0.1 could allow an attacke…7.5
- CVE-2022-33169IBM Robotic Process Automation 21.0.0, 21.0.1, and 21.0.2 is…6.5
- CVE-2022-3317Insufficient validation of untrusted input in Intents in Goo…4.3
- CVE-2022-33172de.fac2 1.34 allows bypassing the User Presence protection m…5.5
- CVE-2022-33173An algorithm-downgrade issue was discovered in Couchbase Ser…7.5
- CVE-2022-33174Power Distribution Units running on Powertek firmware (multi…7.5
- CVE-2022-33175Power Distribution Units running on Powertek firmware (multi…9.8
- CVE-2022-33176Improper input validation in BIOS firmware for some Intel(R)…6.7
- CVE-2022-33177Cross-Site Request Forgery (CSRF) vulnerability in WPdevelop…4.3
Are you affected by CVE-2022-33171?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
