CVE-2022-33171

Published Jul 4, 2022 CVSS 3.1 · 9.8 Critical EPSS 21.4% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fx4w-v43j-vc45 SQL injection in typeORM
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 8:01 AM
Reserved
Jun 13, 2022, 12:00 AM
Status
Modified
Published
Jul 4, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:48 AM