CVE-2015-4021Integer Overflow or Wraparound in Apple MAC OS X

Severity
5.0MEDIUMNVD
EPSS
42.0%
top 2.56%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 9
Latest updateMay 14

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.

CVSS vector

AV:N/AC:L/C:N/I:N/A:PExploitability: 10.0 | Impact: 2.9

Affected Packages7 packages

Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.11
NVDphp/php5.4.40+31
NVDapple/mac_os_x10.10.4

Also affects: Enterprise Linux 6.0, 7.0, 7.1

Patches

🔴Vulnerability Details

4
GHSA
GHSA-42r5-64j2-gjmp: The phar_parse_tarfile function in ext/phar/tar2022-05-14
OSV
php5 vulnerabilities2015-07-06
OSV
CVE-2015-4021: The phar_parse_tarfile function in ext/phar/tar2015-06-09
CVEList
CVE-2015-4021: The phar_parse_tarfile function in ext/phar/tar2015-06-09

📋Vendor Advisories

3
Ubuntu
PHP vulnerabilities2015-07-06
Red Hat
php: memory corruption in phar_parse_tarfile caused by empty entry file name2015-05-14
Apple
CVE-2015-4021: OS X Yosemite v10.10.5 and Security Update 2015-006

💬Community

2
Bugzilla
CVE-2015-4021 php: memory corruption in phar_parse_tarfile caused by empty entry file name2015-05-20
Bugzilla
CVE-2015-4021 CVE-2015-4025 CVE-2015-4026 php: various flaws [fedora-all]2015-05-20
CVE-2015-4021 — Integer Overflow or Wraparound in Apple | cvebase