CWE
159
Advisory Published
CVE Published
CVE Published
Updated

CVE-2021-21707: Special characters break path parsing in XML functions

First published: Mon Nov 15 2021(Updated: )

Fixed bug (special character is breaking the path in xml function). (CVE-2021-21707)

Credit: security@php.net security@php.net

Affected SoftwareAffected VersionHow to fix
PHP PHP>=7.3.0<7.3.33
PHP PHP>=7.4.0<7.4.26
PHP PHP>=8.0.0<8.0.13
NetApp Clustered Data ONTAP
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Tenable Tenable.sc<5.21.0
PHP PHP<8.0.13
8.0.13
debian/php7.4
7.4.33-1+deb11u5
7.4.33-1+deb11u6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this bug?

    The vulnerability ID for this bug is CVE-2021-21707.

  • What is the severity level of CVE-2021-21707?

    The severity level of CVE-2021-21707 is medium with a severity value of 5.3.

  • Which versions of PHP are affected by CVE-2021-21707?

    PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26, and 8.0.x below 8.0.13 are affected by CVE-2021-21707.

  • How does CVE-2021-21707 impact the affected software?

    CVE-2021-21707 can cause certain XML parsing functions in PHP to interpret an URL-encoded NUL character as the end of the filename, potentially leading to file path manipulation.

  • Where can I find more information about CVE-2021-21707?

    More information about CVE-2021-21707 can be found at the following references: [Mitre](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21707), [Ubuntu Security Notices - USN-5300-1](https://ubuntu.com/security/notices/USN-5300-1), [Ubuntu Security Notices - USN-5300-2](https://ubuntu.com/security/notices/USN-5300-2).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203