CVE-2021-21707

Modified
Published: 29 Nov 2021, 06:25
Last modified:17 Sept 2024, 03:38

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
5.3 MEDIUM
v3.1 (cve.org)
EPSS Score
0.56% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

29 Nov 2021, 06:25
Published
Vulnerability first disclosed
17 Sept 2024, 03:38
Last Modified
Vulnerability information updated

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

  • v3.1MEDIUMScore: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • v2.0MEDIUMScore: 5AV:N/AC:L/Au:N/C:P/I:N/A:N

EPSS Trends

Current EPSS score: 0.56% Percentile: 69%

Techniques & Countermeasures

  • CWE-159Improper Handling of Invalid Use of Special Elements

    The product does not properly filter, remove, quote, or otherwise manage the invalid use of special elements in user-controlled input, which could cause adverse effect on its behavior and integrity.

Affected Systems

  • debiandebian_linux

    10.0 | 11.0

  • netappclustered_data_ontap

    na

  • UnknownPHP

    ≥ 7.3.x, < 7.3.33 | ≥ 7.4.x, < 7.4.26 | ≥ 8.0.X, < 8.0.13

  • UnknownPHP

    ≥ 7.3.0, < 7.3.33 | ≥ 7.4.0, < 7.4.26 | ≥ 8.0.0, < 8.0.13

  • tenabletenable.sc

    < 5.21.0

References (5)