CVE Database
/

CVE-2020-7063

Back to search

CVE-2020-7063

Published: Feb 27, 2020

Modified: Sep 16, 2024

PUBLISHED

CVSS v3.1

5.5

MEDIUM

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.

VendorProductVersions

PHP Group

PHP

affected
7.3.x - < 7.3.15
affected
7.4.x - < 7.4.3
affected
7.2.x - < 7.2.28

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Attack Vector

Local

Attack Complexity

Low

Privileges Required

None

User Interaction

Required

Scope

Unchanged

Confidentiality

High

Integrity

None

Availability

None

References

openSUSE-SU-2020:0341
vendor-advisory
x_refsource_SUSE
GLSA-202003-57
vendor-advisory
x_refsource_GENTOO
USN-4330-1
vendor-advisory
x_refsource_UBUNTU
DSA-4717
vendor-advisory
x_refsource_DEBIAN
DSA-4719
vendor-advisory
x_refsource_DEBIAN

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now