CVE-2021-21707
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
29/11/2021
Last modified:
16/02/2023
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.
Impact
Base Score 3.x
5.30
Severity 3.x
MEDIUM
Base Score 2.0
5.00
Severity 2.0
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 7.3.0 (including) | 7.3.33 (excluding) |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 7.4.0 (including) | 7.4.26 (excluding) |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 8.0.0 (including) | 8.0.13 (excluding) |
cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:* | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | ||
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | ||
cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* | 5.21.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page