CVE-2020-7063
CVE-2020-7063 is a medium-severity vulnerability in Php with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-281.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 2% (73rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-281
- Affected product: Php
- Published:
- Last modified:
Description
In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all access) even if the original files on the filesystem were with more restrictive permissions. This may result in files having more lax permissions than intended when such archive is extracted.
Frequently asked questions
- What is CVE-2020-7063?
- In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all access) even if the original files on the filesystem were with more restrictive permissions. This may result in files having more lax permissions than intended when such archive is extracted.
- How severe is CVE-2020-7063?
- CVE-2020-7063 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2020-7063 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (73rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-7063?
- CVE-2020-7063 primarily affects Php. In total, 6 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2020-7063?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2020-7063 published?
- CVE-2020-7063 was published on 2020-02-27 and last updated on 2026-06-17.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html
- https://bugs.php.net/bug.php?id=79082
- https://lists.debian.org/debian-lts-announce/2020/03/msg00034.html
- https://security.gentoo.org/glsa/202003-57
- https://usn.ubuntu.com/4330-1/
- https://www.debian.org/security/2020/dsa-4717
- https://www.debian.org/security/2020/dsa-4719
- https://www.tenable.com/security/tns-2021-14
Affected products (6)
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
More vulnerabilities in Php
- CVE-2015-0235 — Critical (CVSS 10.0): Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18,…
- CVE-2012-2688 — Critical (CVSS 10.0): Unspecified vulnerability in the _php_stream_scandir function in the stream implementation in PHP before 5.3.15 and…
- CVE-2012-2376 — Critical (CVSS 10.0): Buffer overflow in the com_print_typeinfo function in PHP 5.4.3 and earlier on Windows allows remote attackers to…
- CVE-2011-3268 — Critical (CVSS 10.0): Buffer overflow in the crypt function in PHP before 5.3.7 allows context-dependent attackers to have an unspecified…
- CVE-2009-4143 — Critical (CVSS 10.0): PHP before 5.2.12 does not properly handle session data, which has unspecified impact and attack vectors related to (1)…
- CVE-2008-5557 — Critical (CVSS 10.0): Heap-based buffer overflow in ext/mbstring/libmbfl/filters/mbfilter_htmlent.c in the mbstring extension in PHP 4.3.0…
Other CWE-281 (Improper Preservation of Permissions) vulnerabilities
- CVE-2024-36532 — Critical (CVSS 10.0): Insecure permissions in kruise v1.6.2 allows attackers to access sensitive data and escalate privileges by obtaining…
- CVE-2024-56973 — Critical (CVSS 9.8): Insecure Permissions vulnerability in Alvaria, Inc Unified IP Unified Director before v.7.2SP2 allows a remote attacker…
- CVE-2024-46622 — Critical (CVSS 9.8): An Escalation of Privilege security vulnerability was found in SecureAge Security Suite software 7.0.x before 7.0.38,…
- CVE-2024-55507 — Critical (CVSS 9.8): An issue in CodeAstro Complaint Management System v.1.0 allows a remote attacker to escalate privileges via the…
- CVE-2024-54465 — Critical (CVSS 9.8): A logic issue was addressed with improved state management. This issue is fixed in macOS Sequoia 15.2. An app may be…
- CVE-2024-41650 — Critical (CVSS 9.8): Insecure Permissions vulnerability in Open Robotics Robotic Operating System 2 ROS2 navigation2 v.humble allows an…
Browse all CWE-281 (Improper Preservation of Permissions) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 197.44.15.210 (ipv4-addr)
- 103.165.139.145 (ipv4-addr)
- 220.178.39.106 (ipv4-addr)
- 218.29.231.106 (ipv4-addr)
- 210.245.20.230 (ipv4-addr)
- 171.100.121.127 (ipv4-addr)
- 121.22.99.2 (ipv4-addr)
- 40.83.182.122 (ipv4-addr)