Use-after-free vulnerability in the phar_rename_archive function in phar_object.c in PHP…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Partial Red Hat: 19 fixed, 2 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
Use-after-free vulnerability in the phar_rename_archive function in phar_object.c in PHP before 5.5.22 and 5.6.x before 5.6.6 allows remote attackers to cause a denial of service or possibly have unspecified other impact via vectors that trigger an attempted renaming of a Phar archive to the name of an existing file.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 15
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:* | 10.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* | 14.10 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* | 13.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* | 13.2 | Vulnerable | openSUSE |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.4.0 to before 5.4.40; 5.5.0 to before 5.5.22; 5.6.0 to before 5.6.6 | Vulnerable | PHP |
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | up to 10.10.4 | Vulnerable | Apple |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:* Versions 10.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* Versions 14.10 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* Versions 13.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* Versions 13.2 Vulnerable ·openSUSE
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.4.0 to before 5.4.40; 5.5.0 to before 5.5.22; 5.6.0 to before 5.6.6 Vulnerable ·PHP
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions up to 10.10.4 Vulnerable ·Apple
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Show 5 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.1:*:*:*:*:*:*:* | 7.1 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_eus:7.1:*:*:*:*:*:*:* | 7.1 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.1:*:*:*:*:*:*:* Versions 7.1 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.1:*:*:*:*:*:*:* Versions 7.1 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Remediation
Red Hat 4 advisories
- RHSA-2015:1218 Released 2015-07-09 · Red Hat rating Moderatephp security update
- Red Hat Enterprise Linux Desktop Optional (v. 6) php-5.3.3-46.el6_6, php-bcmath-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6 +24
- Red Hat Enterprise Linux HPC Node (v. 6) php-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6, php-common-5.3.3-46.el6_6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) php-5.3.3-46.el6_6, php-bcmath-5.3.3-46.el6_6, php-dba-5.3.3-46.el6_6 +22
- Red Hat Enterprise Linux Server (v. 6) php-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6, php-common-5.3.3-46.el6_6 +9
- Red Hat Enterprise Linux Server Optional (v. 6) php-bcmath-5.3.3-46.el6_6, php-dba-5.3.3-46.el6_6, php-devel-5.3.3-46.el6_6 +12
- Red Hat Enterprise Linux Workstation (v. 6) php-5.3.3-46.el6_6, php-cli-5.3.3-46.el6_6, php-common-5.3.3-46.el6_6 +9
- Red Hat Enterprise Linux Workstation Optional (v. 6) php-bcmath-5.3.3-46.el6_6, php-dba-5.3.3-46.el6_6, php-devel-5.3.3-46.el6_6 +12
- RHSA-2015:1135 Released 2015-06-23 · Red Hat rating Importantphp security and bug fix update
- Red Hat Enterprise Linux Client Optional (v. 7) php-5.4.16-36.el7_1, php-bcmath-5.4.16-36.el7_1, php-cli-5.4.16-36.el7_1 +22
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) php-5.4.16-36.el7_1, php-bcmath-5.4.16-36.el7_1, php-cli-5.4.16-36.el7_1 +22
- Red Hat Enterprise Linux Server (v. 7) php-5.4.16-36.ael7b_1, php-5.4.16-36.el7_1, php-cli-5.4.16-36.ael7b_1 +25
- Red Hat Enterprise Linux Server Optional (v. 7) php-bcmath-5.4.16-36.ael7b_1, php-bcmath-5.4.16-36.el7_1, php-dba-5.4.16-36.ael7b_1 +19
- Red Hat Enterprise Linux Workstation (v. 7) php-5.4.16-36.el7_1, php-cli-5.4.16-36.el7_1, php-common-5.4.16-36.el7_1 +11
- Red Hat Enterprise Linux Workstation Optional (v. 7) php-bcmath-5.4.16-36.el7_1, php-dba-5.4.16-36.el7_1, php-devel-5.4.16-36.el7_1 +8
- RHSA-2015:1053 Released 2015-06-04 · Red Hat rating Moderatephp55 security and bug fix update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php55-2.0-1.el7, php55-php-5.5.21-2.el7, php55-php-bcmath-5.5.21-2.el7 +25
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php55-2.0-1.el6, php55-php-5.5.21-2.el6, php55-php-bcmath-5.5.21-2.el6 +27
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php55-2.0-1.el7, php55-php-5.5.21-2.el7, php55-php-bcmath-5.5.21-2.el7 +25
Show 1 more Red Hat advisories
- RHSA-2015:1066 Released 2015-06-04 · Red Hat rating Importantphp54 security and bug fix update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) php54-2.0-1.el7, php54-php-5.4.40-1.el7, php54-php-bcmath-5.4.40-1.el7 +24
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) php54-2.0-1.el6, php54-php-5.4.40-1.el6, php54-php-bcmath-5.4.40-1.el6 +26
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) php54-2.0-1.el7, php54-php-5.4.40-1.el7, php54-php-bcmath-5.4.40-1.el7 +24
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix yet |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2015:1218 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2015:1135 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:1053, RHSA-2015:1066 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2015-2301
- 2026-10-03 Alias added: GHSA-q362-2hc9-hr5r
References
Exploit 2
Advisory 19
- DSA-3198
- USN-2535-1
- HPSBMU03409
- openSUSE-SU-2015:0644
- APPLE-SA-2015-09-30-3
- HPSBMU03380
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- MDVSA-2015:079
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1194747
- SSRT102066
- http://php.net/ChangeLog-5.php
- SUSE-SU-2015:0868
- https://support.apple.com/HT205267
- RHSA-2015:1135
- RHSA-2015:1053
- GLSA-201606-10
- RHSA-2015:1066
- RHSA-2015:1218
Sources
- CVE-2015-2301 · CVE Program
- CVE-2015-2301 · NVD
- FIRST EPSS
- GHSA-q362-2hc9-hr5r · GitHub Advisory Database · CC BY 4.0
- CVE-2015-2301 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences