PT-2019-5459 · Php+3 · Php+3
Jordy Zomer
·
Published
2018-05-15
·
Updated
2024-08-04
·
CVE-2019-9675
CVSS v3.1
8.1
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
PHP versions 7.1.x through 7.1.26
PHP versions 7.3.x through 7.3.2
Description
The issue is related to a buffer overflow in the
phar tar writeheaders int function in ext/phar/tar.c of the PHP interpreter. This can be exploited by a remote attacker to execute arbitrary code. The buffer overflow occurs via a long link value. However, the vendor notes that the link value is used only when an archive contains a symlink, which currently cannot happen, making a practical attack usually impossible.Recommendations
For PHP versions 7.1.x through 7.1.26, update to version 7.1.27 or later.
For PHP versions 7.3.x through 7.3.2, update to version 7.3.3 or later.
Exploit
Fix
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Php
Suse
Ubuntu