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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed in |
|---|---|---|
| Canonical Ubuntu Linux | = 19.10 | No fix listed |
| tenable Security Center | < 5.19.0 | 5.19.0 |
References
- security.alpinelinux.org vendor-advisory
- bugs.php.net exploit mailing-list patch vendor-advisory
- [debian-lts-announce] 20191229 [SECURITY] [DLA 2050-1] php5 security update mailing-list third-party-advisory
- security.netapp.com third-party-advisory
- FEDORA-2019-437d94e271 vendor-advisory
- FEDORA-2019-a54a622670 vendor-advisory
- USN-4239-1 third-party-advisory vendor-advisory
- openSUSE-SU-2020:0080 mailing-list third-party-advisory vendor-advisory
- 20200218 [SECURITY] [DSA 4626-1] php7.3 security update mailing-list third-party-advisory
- DSA-4626 third-party-advisory vendor-advisory
- DSA-4628 third-party-advisory vendor-advisory
- 20200219 [SECURITY] [DSA 4628-1] php7.0 security update mailing-list third-party-advisory
- 20210116 Re: [SECURITY] [DSA 4628-1] php7.0 security update mailing-list third-party-advisory
- www.tenable.com third-party-advisory