Advisory

DEBIAN-CVE-2020-7063

Also known as: CVE-2020-7063

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2020-02-27 21:15 UTC
Modified
2026-08-27 13:03 UTC

Affected packages and fixes

php7.4

Debian packages (deb) · Debian 11

Affected

  • introduced 0, fixed 7.4.3-1 (ecosystem)

Fixed versions

7.4.3-1

Fix

  • Fixed version 7.4.3-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences