Live threats
VulnFox

All CVEs / Redhat

CVE-2015-4021Redhat Enterprise Linux Desktop

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
—
Auth required
No
Published
Jun 9, 2015
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-189
Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Enterprise Linux Desktop.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
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.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
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.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.2
phpphp5.6.3
phpphp5.6.4
phpphp5.6.5
phpphp5.6.6
phpphp5.6.7

and 1 more in the JSON

Official sources

References

Links published by the sources. Open them with care.