CVE-2020-7063
CVSS V2 Medium 5
CVSS V3 Medium 5.3
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.
Overview
- CVE ID
- CVE-2020-7063
- Assigner
- security@php.net
- Vulnerability Status
- Analyzed
- Published Version
- 2020-02-27T21:15:19
- Last Modified Date
- 2022-05-08T23:50:23
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 7.2.0 | 7.2.27 |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 7.3.0 | 7.3.14 |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 7.4.0 | 7.4.2 |
cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* | 1 | OR | 5.19.0 | |
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://bugs.php.net/bug.php?id=79082 | Exploit Vendor Advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html | Third Party Advisory |
https://security.gentoo.org/glsa/202003-57 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2020/03/msg00034.html | Third Party Advisory |
https://usn.ubuntu.com/4330-1/ | Third Party Advisory |
https://www.debian.org/security/2020/dsa-4717 | Third Party Advisory |
https://www.debian.org/security/2020/dsa-4719 | Third Party Advisory |
https://www.tenable.com/security/tns-2021-14 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-7063 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7063 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:16:32 | Added to TrackCVE | |||
2022-12-04 11:53:32 | 2020-02-27T21:15Z | 2020-02-27T21:15:19 | CVE Published Date | updated |
2022-12-04 11:53:32 | 2022-05-08T23:50:23 | CVE Modified Date | updated | |
2022-12-04 11:53:32 | Analyzed | Vulnerability Status | updated |