Vulnerability in Php

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.

EPSS: 0.016 (73.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-7063?
CVE-2020-7063 is a medium-severity vulnerability in Php, classified under Improper Preservation of Permissions. CVSS score: 5.5/10. Published 2020-02-27.
How severe is CVE-2020-7063?
Medium severity. CVSS v3 base score is 5.5 out of 10.