CVE-2022-2309
lxml NULL Pointer Dereference allows attackers to cause a denial of service
描述
NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.
如何修補 CVE-2022-2309
要修補 CVE-2022-2309,請將受影響套件升級到下列已修補版本。
- —升級至 2.9.14-r1 或更新版本
- —升級至 4.9.2-r0 或更新版本
- —升級至 2.9.10+dfsg-6.7+deb11u5 或更新版本
- —未列出修補版本
- —升級至 4.9.1 或更新版本
- —升級至 86368e9cf70a0ad23cccd5ee32de847149af0c6f 或更新版本
CVE-2022-2309 正在被利用嗎?
低 — EPSS 為 2.5%,目前沒有觀察到大規模利用活動。
受影響套件(6)
- from 0, < 2.9.14-r1
- from 0, < 4.9.2-r0
- from 0, < 2.9.10+dfsg-6.7+deb11u5
- from 0
- from 0, < 4.9.1
- from 0, < 86368e9cf70a0ad23cccd5ee32de847149af0c6f | from 0, < 4.9.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |