Skip to content

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

MediumCVSS 5.9 EPSS 8.8%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
alpine/php7(Alpine:v3.10) < 7.3.13-r0 7.3.13-r0
alpine/php7(Alpine:v3.11) < 7.3.13-r0 7.3.13-r0
alpine/php7(Alpine:v3.12) < 7.3.13-r0 7.3.13-r0
alpine/php7(Alpine:v3.13) < 7.3.13-r0 7.3.13-r0
alpine/php7(Alpine:v3.14) < 7.3.13-r0 7.3.13-r0
alpine/php7(Alpine:v3.15) < 7.3.13-r0 7.3.13-r0
alpine/php7(Alpine:v3.8) < 7.2.26-r0 7.2.26-r0
alpine/php7(Alpine:v3.9) < 7.2.26-r0 7.2.26-r0
PHP >= 7.2.x, < 7.2.26 7.2.26
PHP >= 7.3.x, < 7.3.13 7.3.13
PHP >= 7.4.x, < 7.4.1 7.4.1
PHP >= 7.2.0, <= 7.2.26 No fix listed
PHP >= 7.3.0, <= 7.3.13 No fix listed
PHP = 7.4.0 No fix listed
fedoraproject fedora = 30 No fix listed
fedoraproject fedora = 31 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
openSUSE leap = 15.1 No fix listed
Canonical Ubuntu Linux = 12.04 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
Canonical Ubuntu Linux = 19.04 No fix listed
Show 2 more
ProductAffected versionsFixed in
Canonical Ubuntu Linux = 19.10 No fix listed
tenable Security Center < 5.19.0 5.19.0

References