CVE-2015-4021

UnknownEPSS 20.86%

Last modified

CVE-2015-4021 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 20.86% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
20.86%

97.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
RedhatEnterprise Linux Desktop7.0
RedhatEnterprise Linux Hpc Node7.0
RedhatEnterprise Linux Hpc Node Eus7.1
RedhatEnterprise Linux Server7.0
RedhatEnterprise Linux Server Eus7.1
RedhatEnterprise Linux Workstation7.0
AppleMac Os X<= 10.10.4
RedhatEnterprise Linux6.0
RedhatEnterprise Linux7.0
PhpPhp<= 5.4.40
PhpPhp5.4.39
PhpPhp5.5.0
PhpPhp5.5.1
PhpPhp5.5.2
PhpPhp5.5.3
PhpPhp5.5.4
PhpPhp5.5.5
PhpPhp5.5.6
PhpPhp5.5.7
PhpPhp5.5.8
PhpPhp5.5.9
PhpPhp5.5.10
PhpPhp5.5.11
PhpPhp5.5.12
PhpPhp5.5.13
PhpPhp5.5.14
PhpPhp5.5.18
PhpPhp5.5.19
PhpPhp5.5.20
PhpPhp5.5.21
PhpPhp5.5.22
PhpPhp5.5.23
PhpPhp5.5.24
PhpPhp5.6.0Alpha1
PhpPhp5.6.2
PhpPhp5.6.3
PhpPhp5.6.4
PhpPhp5.6.5
PhpPhp5.6.6
PhpPhp5.6.7
PhpPhp5.6.8

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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 character, which allows remote attackers to cause a denial of service (integer underflow and memory corruption) via a crafted entry in a tar archive.
How severe is CVE-2015-4021?
Severity scoring for CVE-2015-4021 is pending analysis. The EPSS model estimates a 20.86% probability of exploitation in the next 30 days.
How do I fix CVE-2015-4021?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2015-4021?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST