CVE-2021-21707

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductPhp
PublishedNov 29, 2021
First seenNov 29, 2021
Weakness typeCWE-159CWE-159

How to fix

Update
  • php php7.3.33, 7.4.26, 8.0.13 or later
  • tenable tenable.sc5.21.0 or later

Affected products

ProductAffected versionsFixed in
php php7.3.0 ≤ v < 7.3.33, 7.4.0 ≤ v < 7.4.26, 8.0.0 ≤ v < 8.0.137.3.33, 7.4.26, 8.0.13
netapp clustered_data_ontapNo range specified—
debian debian_linux10.0, 11.0—
tenable tenable.scv < 5.21.05.21.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.