peter bassill · operator
$ cve CVE-2022-33171 JSON

CVE-2022-33171

9.8
CRITICAL · CVSS 3.1 · EPSS 21.4% (pctl 98)

Patch early

EPSS 21.4% — above the 10% action threshold.

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

Scoring

CVSS9.8 (CRITICAL, v3.1)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS21.39% — more likely to be exploited than 98% of all CVEs
WeaknessCWE-89
On CISA KEVno
Public exploitnone known
Published2022-07-04
Last modified2026-06-17

Affected (1)

VendorProduct
typeormtypeorm

References

→ the Explorer  ·  watch your stack  ·  NVD