HomePhpCVE-2021-21707

CVE-2021-21707

MEDIUM
5.3CVSS
Published: 2021-11-29
Updated: 2024-11-21
AI Analysis

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.

CVSS Metrics

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector
network
Complexity
low
Privileges
none
User Action
none
Scope
unchanged
Confidentiality
low
Integrity
none
Availability
none
Weaknesses
CWE-159NVD-CWE-Other

Metadata

Primary Vendor
PHP
Published
11/29/2021
Last Modified
11/21/2024
Source
NIST NVD
Note: Verify all details with official vendor sources before applying patches.

Affected Products

php : phpphp : phpphp : phpnetapp : clustered_data_ontapdebian : debian_linuxdebian : debian_linuxtenable : tenable.sc

AI-Powered Remediation

Generate remediation guidance or a C-suite brief for this vulnerability.

Executive Intelligence Brief

CVE-CVE-2021-21707 | MEDIUM Severity | CVEDatabase.com | CVEDatabase.com