Vulnerability database / CVE-2020-7063
CVE-2020-7063
MEDIUM 5.3 CVSS 3.1 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.
Published 27 Feb 2020
Last modified 17 Jun 2026 Assigned by security@php.net NVD status Modified Weakness
CWE-281 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
security@php.net (Secondary)
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NNVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 5.0
AV:N/AC:L/Au:N/C:N/I:P/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.2.0, <= 7.2.27
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.3.0, <= 7.3.14
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.4.0, <= 7.4.2
NVD
tenable
tenable.sccpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*
< 5.19.0
5.19.0 NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD
opensuse
leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
= 15.1
References
History
25 Nov 2026 20:31 UTC · NVD: first stored (published 27 Feb 2020)