CVE-2015-4021: Medium severity red hat enterprise linux desktop vulnerability
The pharparsetarfile 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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2015-4021?
CVE-2015-4021 has been classified as a moderate severity vulnerability due to its potential to cause denial of service.
How do I fix CVE-2015-4021?
To fix CVE-2015-4021, update PHP to version 5.4.41, 5.5.25, or 5.6.9 or later.
What systems are affected by CVE-2015-4021?
CVE-2015-4021 affects PHP versions prior to 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9.
What type of vulnerability is CVE-2015-4021?
CVE-2015-4021 is a denial of service vulnerability that can be exploited through the phar_parse_tarfile function.
What could happen if CVE-2015-4021 is exploited?
If exploited, CVE-2015-4021 could lead to an integer underflow and potential memory corruption, resulting in service disruption.