CVE-2019-9021

critical

Description

An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A heap-based buffer over-read in PHAR reading functions in the PHAR extension may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse the file name, a different vulnerability than CVE-2018-20783. This is related to phar_detect_phar_fname_ext in ext/phar/phar.c.

References

https://www.debian.org/security/2019/dsa-4398

https://usn.ubuntu.com/3902-2/

https://usn.ubuntu.com/3902-1/

https://security.netapp.com/advisory/ntap-20190321-0001/

https://access.redhat.com/errata/RHSA-2019:3299

https://access.redhat.com/errata/RHSA-2019:2519

http://www.securityfocus.com/bid/107156

http://www.securityfocus.com/bid/106747

http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html

http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html

http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html

http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html

Details

Source: Mitre, NVD

Published: 2019-02-22

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical