CVE-2019-11045 LOW

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

Vendor Php Group
Product PHP
Weakness CWE-170
Published December 23, 2019
Last update September 16, 2024

CVSS base score

3.7/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 23, 2019 CVE published
September 16, 2024 Record updated