Skip to content
OpenAdvisories
Medium · 6.5 CVE-2020-7061 EUVD-2020-28195GHSA-q6h5-x7cx-j9jg

heap-buffer-overflow in phar_extract_file

Published Feb 27, 2020 · Updated Sep 17, 2024 · Assigned by php

Description

In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash.

Affected products

VendorProductAffectedFixed
PHP Group PHP 7.3.x – < 7.3.15, 7.4.x – < 7.4.3 7.3.15

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Alpine v3.15 php7 7.3.15-r0 —
Alpine v3.14 php7 7.3.15-r0 —
Alpine v3.13 php7 7.3.15-r0 —
Alpine v3.12 php7 7.3.15-r0 —
Alpine v3.11 php7 7.3.15-r0 —

Advisories 3

References