CVE-2021-21707 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.php.net/bug.php?id=79971 | CVE | ExploitIssue TrackingPatchRelease NotesVendor Advisory |
| https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html | CVE | Issue TrackingMailing List |
| https://security.netapp.com/advisory/ntap-20211223-0005/ | CVE | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5082 | CVE | Third Party Advisory |
| https://www.tenable.com/security/tns-2022-09 | CVE | PatchRelease NotesThird Party Advisory |
| https://bugs.php.net/bug.php?id=79971 | [email protected] | ExploitIssue TrackingPatchRelease NotesVendor Advisory |
| https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html | [email protected] | Issue TrackingMailing List |
| https://security.netapp.com/advisory/ntap-20211223-0005/ | [email protected] | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5082 | [email protected] | Third Party Advisory |
| https://www.tenable.com/security/tns-2022-09 | [email protected] | PatchRelease NotesThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
| CWE-159 | Improper Handling of Invalid Use of Special Elements | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | >= 7.3.0, < 7.3.33 >= 7.4.0, < 7.4.26 >= 8.0.0, < 8.0.13 |
CPE
Remediation
| |
| netapp clustered data ontap | All versions |
CPE
Remediation
| |
| debian debian linux | 10.0 11.0 |
CPE
Remediation
| |
| tenable tenable.sc | < 5.21.0 |
CPE
Remediation
| |
Change History
12 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 16, 2023 | Modified Analysis | [email protected] |
| Dec 15, 2022 | CVE Modified | [email protected] |
| Oct 5, 2022 | Modified Analysis | [email protected] |
| Apr 20, 2022 | CVE Modified | [email protected] |
| Mar 25, 2022 | Modified Analysis | [email protected] |
| Feb 21, 2022 | CVE Modified | [email protected] |
| Jan 4, 2022 | Modified Analysis | [email protected] |
| Dec 23, 2021 | CVE Modified | [email protected] |
| Nov 30, 2021 | Initial Analysis | [email protected] |