CVE-2015-4021 The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 does not verify that the first character of a filename is different from the \0 char...
MediumCVSS 5.0
EPSS 20.5%
- Published
- Updated
- Exploit status
- No public exploit known
Description
The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 does not verify that the first character of a filename is different from the \0 character, which allows remote attackers to cause a denial of service (integer underflow and memory corruption) via a crafted entry in a tar archive.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux desktop | = 7.0 | No fix listed |
| redhat enterprise linux hpc node | = 7.0 | No fix listed |
| redhat enterprise linux hpc node eus | = 7.1 | No fix listed |
| redhat enterprise linux server | = 7.0 | No fix listed |
| redhat enterprise linux server eus | = 7.1 | No fix listed |
| redhat enterprise linux workstation | = 7.0 | No fix listed |
| apple mac os x | <= 10.10.4 | No fix listed |
| redhat enterprise linux | = 6.0 | No fix listed |
| redhat enterprise linux | = 7.0 | No fix listed |
| PHP | <= 5.4.40 | No fix listed |
| PHP | = 5.4.39 | No fix listed |
| PHP | = 5.5.0 | No fix listed |
| PHP | = 5.5.0-alpha1 | No fix listed |
| PHP | = 5.5.0-alpha2 | No fix listed |
| PHP | = 5.5.0-alpha3 | No fix listed |
| PHP | = 5.5.0-alpha4 | No fix listed |
| PHP | = 5.5.0-alpha5 | No fix listed |
| PHP | = 5.5.0-alpha6 | No fix listed |
| PHP | = 5.5.0-beta1 | No fix listed |
| PHP | = 5.5.0-beta2 | No fix listed |
| PHP | = 5.5.0-beta3 | No fix listed |
| PHP | = 5.5.0-beta4 | No fix listed |
| PHP | = 5.5.0-rc1 | No fix listed |
| PHP | = 5.5.0-rc2 | No fix listed |
| PHP | = 5.5.1 | No fix listed |
Show 36 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 5.5.2 | No fix listed |
| PHP | = 5.5.3 | No fix listed |
| PHP | = 5.5.4 | No fix listed |
| PHP | = 5.5.5 | No fix listed |
| PHP | = 5.5.6 | No fix listed |
| PHP | = 5.5.7 | No fix listed |
| PHP | = 5.5.8 | No fix listed |
| PHP | = 5.5.9 | No fix listed |
| PHP | = 5.5.10 | No fix listed |
| PHP | = 5.5.11 | No fix listed |
| PHP | = 5.5.12 | No fix listed |
| PHP | = 5.5.13 | No fix listed |
| PHP | = 5.5.14 | No fix listed |
| PHP | = 5.5.18 | No fix listed |
| PHP | = 5.5.19 | No fix listed |
| PHP | = 5.5.20 | No fix listed |
| PHP | = 5.5.21 | No fix listed |
| PHP | = 5.5.22 | No fix listed |
| PHP | = 5.5.23 | No fix listed |
| PHP | = 5.5.24 | No fix listed |
| PHP | = 5.6.0-alpha1 | No fix listed |
| PHP | = 5.6.0-alpha2 | No fix listed |
| PHP | = 5.6.0-alpha3 | No fix listed |
| PHP | = 5.6.0-alpha4 | No fix listed |
| PHP | = 5.6.0-alpha5 | No fix listed |
| PHP | = 5.6.0-beta1 | No fix listed |
| PHP | = 5.6.0-beta2 | No fix listed |
| PHP | = 5.6.0-beta3 | No fix listed |
| PHP | = 5.6.0-beta4 | No fix listed |
| PHP | = 5.6.2 | No fix listed |
| PHP | = 5.6.3 | No fix listed |
| PHP | = 5.6.4 | No fix listed |
| PHP | = 5.6.5 | No fix listed |
| PHP | = 5.6.6 | No fix listed |
| PHP | = 5.6.7 | No fix listed |
| PHP | = 5.6.8 | No fix listed |
References
- APPLE-SA-2015-08-13-2 vendor-advisory
- FEDORA-2015-8281 vendor-advisory
- FEDORA-2015-8383 vendor-advisory
- FEDORA-2015-8370 vendor-advisory
- openSUSE-SU-2015:0993 vendor-advisory
- php.net patch
- RHSA-2015:1135 vendor-advisory
- RHSA-2015:1186 vendor-advisory
- RHSA-2015:1187 vendor-advisory
- RHSA-2015:1218 vendor-advisory
- RHSA-2015:1219 vendor-advisory
- DSA-3280 vendor-advisory
- www.oracle.com
- 74700 vdb-entry
- 1032433 vdb-entry
- bugs.php.net exploit
- GLSA-201606-10 vendor-advisory
- support.apple.com