CVE-2022-33171
SQL injection in typeORM
9.8
CRITICAL
CVSS 3.1
EPSS 20.3%
描述
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.
如何修補 CVE-2022-33171
要修補 CVE-2022-33171,請將受影響套件升級到下列已修補版本。
- —升級至 0.3.0 或更新版本
CVE-2022-33171 正在被利用嗎?
中等 — EPSS 為 20.3%,可持續追蹤但非最高優先。
受影響套件(1)
- from 0, < 0.3.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |