CWE
74 170
Advisory Published
CVE Published
CVE Published
Updated

CVE-2019-11045: DirectoryIterator class silently truncates after a null byte

First published: Tue Dec 17 2019(Updated: )

A vulnerability was found in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP DirectoryIterator class accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access. Reference: <a href="https://bugs.php.net/bug.php?id=78863">https://bugs.php.net/bug.php?id=78863</a>

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

Affected SoftwareAffected VersionHow to fix
redhat/rh-php73-php<0:7.3.20-1.el7
0:7.3.20-1.el7
PHP PHP>=7.2.0<=7.2.26
PHP PHP>=7.3.0<=7.3.13
PHP PHP=7.4.0
Fedoraproject Fedora=30
Fedoraproject Fedora=31
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
openSUSE Leap=15.1
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
Canonical Ubuntu Linux=19.10
Tenable SecurityCenter<5.19.0
PHP PHP<7.2.26
7.2.26
debian/php5
debian/php7.0
debian/php7.3

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID for this issue?

    The vulnerability ID for this issue is CVE-2019-11045.

  • What is the severity of CVE-2019-11045?

    The severity of CVE-2019-11045 is medium with a CVSS score of 5.9.

  • Which PHP versions are affected by CVE-2019-11045?

    PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13, and 7.4.0 are affected by CVE-2019-11045.

  • What is the impact of CVE-2019-11045?

    CVE-2019-11045 could lead to security vulnerabilities in applications checking paths that the code is allowed to access.

  • How can I fix CVE-2019-11045?

    To fix CVE-2019-11045, update PHP to version 7.2.26, 7.3.13, or 7.4.1 or later.

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