CVE-2021-21707

CVSS V2 Medium 5 CVSS V3 Medium 5.3
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.
Overview
  • CVE ID
  • CVE-2021-21707
  • Assigner
  • security@php.net
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-11-29T07:15:06
  • Last Modified Date
  • 2023-02-16T03:07:25
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 7.3.0 7.3.33
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 7.4.0 7.4.26
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 8.0.0 8.0.13
cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* 1 OR 5.21.0
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:N/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 5.3
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 3.9
  • Impact Score
  • 1.4
References
Reference URL Reference Tags
https://bugs.php.net/bug.php?id=79971 Exploit Issue Tracking Patch Release Notes Vendor Advisory
https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html
https://security.netapp.com/advisory/ntap-20211223-0005/ Third Party Advisory
https://www.debian.org/security/2022/dsa-5082 Third Party Advisory
https://www.tenable.com/security/tns-2022-09 Patch Release Notes Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-04-04 00:42:06 Added to TrackCVE
2022-12-05 15:12:42 2021-11-29T07:15Z 2021-11-29T07:15:06 CVE Published Date updated
2022-12-05 15:12:42 2022-10-05T01:47:22 CVE Modified Date updated
2022-12-05 15:12:42 Analyzed Vulnerability Status updated
2022-12-05 15:12:47 References updated
2022-12-15 22:12:35 2022-12-15T21:15:11 CVE Modified Date updated
2022-12-15 22:12:35 Analyzed Modified Vulnerability Status updated
2022-12-15 22:12:35 References updated
2022-12-18 08:36:46 Modified Undergoing Analysis Vulnerability Status updated
2023-02-16 03:14:40 2023-02-16T03:07:25 CVE Modified Date updated
2023-02-16 03:14:40 Undergoing Analysis Analyzed Vulnerability Status updated
2023-02-16 03:14:41 Weakness Enumeration update