CVE-2019-11045

DirectoryIterator class silently truncates after a null byte

Published Dec 23, 2019 CVSS 3.1 · 3.7 Low EPSS 8.8% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2050-1 php5 security update
Debian DSA Debian DSA DSA-4626-1 php7.3 security update
Debian DSA Debian DSA DSA-4628-1 php7.0 security update
Ubuntu USN Ubuntu USN USN-4239-1 PHP vulnerabilities
History
Type Values Removed Values Added
First Time appeared Tenable security Center
CPEs cpe:2.3:a:tenable:securitycenter:*:*:*:*:*:*:*:* cpe:2.3:a:tenable:security_center:*:*:*:*:*:*:*:*
Vendors & Products Tenable securitycenter
Tenable security Center
Type Values Removed Values Added
Metrics epss

{'score': 0.49338}

epss

{'score': 0.49924}

Type Values Removed Values Added
Metrics epss

{'score': 0.40595}

epss

{'score': 0.49338}

Weaknesses
  • CWE-170

    Improper Null Termination

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Sep 16, 2024, 5:32 PM
Reserved
Apr 9, 2019, 12:00 AM
Status
Modified
Published
Dec 23, 2019, 3:15 AM
Modified
Aug 17, 2026, 2:50 PM
Severity
Moderate
Public date
Dec 22, 2019, 12:00 AM