CVE-2021-21707

Source
https://cve.org/CVERecord?id=CVE-2021-21707
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21707.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-21707
Aliases
Downstream
Related
Published
2021-11-29T07:15:06.397Z
Modified
2026-02-04T21:33:57.020625Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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 simplexmlloadfile(), 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.

References

Affected packages

Git / github.com/php/php-src

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21707.json"