CVE-2020-7068 Details
Description
In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.
A use-after-free vulnerability has been identified in the PHP PHAR extension, specifically in versions 7.2.0 prior to 7.2.33, 7.3.0 prior to 7.3.21, and 7.4.0 prior to 7.4.9. The vulnerability arises in the phar_parse_zipfile function, where improper handling of the actual_alias variable can lead to access of freed memory. This flaw could be exploited to cause a crash or disclose sensitive information. The issue is triggered when PHAR files are processed with a specific php.ini configuration that enables persistent entries, allowing freed memory to be used as a hash key, potentially leading to exploitation.
Users are advised to upgrade to PHP versions 7.2.33, 7.3.21, or 7.4.9.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.php.net/bug.php?id=79797 | CVE | ExploitMailing ListPatchVendor Advisory |
| https://security.gentoo.org/glsa/202009-10 | CVE | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20200918-0005/ | CVE | Third Party Advisory |
| https://www.debian.org/security/2021/dsa-4856 | CVE | Third Party Advisory |
| https://www.tenable.com/security/tns-2021-14 | CVE | PatchThird Party Advisory |
| https://bugs.php.net/bug.php?id=79797 | [email protected] | ExploitMailing ListPatchVendor Advisory |
| https://security.gentoo.org/glsa/202009-10 | [email protected] | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20200918-0005/ | [email protected] | Third Party Advisory |
| https://www.debian.org/security/2021/dsa-4856 | [email protected] | Third Party Advisory |
| https://www.tenable.com/security/tns-2021-14 | [email protected] | PatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | >= 7.2.0, < 7.2.33 >= 7.3.0, < 7.3.21 >= 7.4.0, < 7.4.9 |
CPE
Remediation
| |
| debian debian linux | 10.0 |
CPE
Remediation
| |
| tenable tenable.sc | < 5.19.0 |
CPE
Remediation
| |
Change History
14 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 1, 2022 | Modified Analysis | [email protected] |
| Jul 22, 2021 | CVE Modified | [email protected] |
| Feb 25, 2021 | Modified Analysis | [email protected] |
| Feb 18, 2021 | CVE Modified | [email protected] |
| Oct 2, 2020 | CVE Modified | [email protected] |
| Sep 24, 2020 | CVE Modified | [email protected] |
| Sep 23, 2020 | Reanalysis | [email protected] |
| Sep 21, 2020 | Modified Analysis | [email protected] |
| Sep 18, 2020 | CVE Modified | [email protected] |
| Sep 15, 2020 | Initial Analysis | [email protected] |
| Sep 14, 2020 | CVE Modified | [email protected] |