CVE-2022-31630
OOB read due to insufficient input validation in imageloadfont()
7.1
HIGH
CVSS 3.1
EPSS 2.2%
描述
In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or disclosure of confidential information.
如何修補 CVE-2022-31630
要修補 CVE-2022-31630,請將受影響套件升級到下列已修補版本。
- —升級至 7.4.33 或更新版本
- —升級至 7.4.33 或更新版本
- —升級至 7.4.33 或更新版本
- —升級至 7.4.33-1+deb11u1 或更新版本
CVE-2022-31630 正在被利用嗎?
低 — EPSS 為 2.2%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- >= 7.4.0, < 7.4.33, >= 8.0.0, < 8.0.25, >= 8.1.0, < 8.1.12
- >= 7.4.0, < 7.4.33, >= 8.0.0, < 8.0.25, >= 8.1.0, < 8.1.12
- >= 7.4.0, < 7.4.33, >= 8.0.0, < 8.0.25, >= 8.1.0, < 8.1.12
- from 0, < 7.4.33-1+deb11u1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |