CVE-2023-22794
SQL Injection Vulnerability via ActiveRecord comments
8.8
HIGH
CVSS 3.1
EPSS 2.2%
描述
A vulnerability in ActiveRecord <6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the `annotate` query method, the `optimizer_hints` query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.
如何修補 CVE-2023-22794
要修補 CVE-2023-22794,請將受影響套件升級到下列已修補版本。
- —升級至 2:6.0.3.7+dfsg-2+deb11u1 或更新版本
- —升級至 6.0.6.1 或更新版本
CVE-2023-22794 正在被利用嗎?
低 — EPSS 為 2.2%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 2:6.0.3.7+dfsg-2+deb11u1
- >= 6.0.0, < 6.0.6.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |