CVE-2021-21707
Special characters break path parsing in XML functions
5.3
MEDIUM
CVSS 3.1
EPSS 26.0%
描述
In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function to interpret this as the end of the filename, thus interpreting the filename differently from what the user intended, which may lead it to reading a different file than intended.
如何修補 CVE-2021-21707
要修補 CVE-2021-21707,請將受影響套件升級到下列已修補版本。
- —升級至 7.3.33 或更新版本
- —升級至 7.3.33 或更新版本
- —升級至 7.3.33 或更新版本
- —升級至 7.3.31-1~deb10u2 或更新版本
- —升級至 7.4.28-1+deb11u1 或更新版本
- —升級至 7.4.28-1+deb11u1 或更新版本
CVE-2021-21707 正在被利用嗎?
中等 — EPSS 為 26.0%,可持續追蹤但非最高優先。
受影響套件(6)
- >= 7.3.0, < 7.3.33, >= 7.4.0, < 7.4.26, >= 8.0.0, < 8.0.13
- >= 7.3.0, < 7.3.33, >= 7.4.0, < 7.4.26, >= 8.0.0, < 8.0.13
- >= 7.3.0, < 7.3.33, >= 7.4.0, < 7.4.26, >= 8.0.0, < 8.0.13
- from 0, < 7.3.31-1~deb10u2
- from 0, < 7.4.28-1+deb11u1
- from 0, < 7.4.28-1+deb11u1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |