CVE-2019-9021 in the critical feed json
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.
published 7y ago modified 4mo ago also EUVD-2019-18408
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.1%
- EPSS 10.1% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php php 5.6.40, 7.1.26, 7.2.14, 7.3.1
- php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.27
- php7.0 Ubuntu 16.04 LTS 7.0.33-0ubuntu0.16.04.2
- php7.2 Ubuntu 18.04 LTS 7.2.15-0ubuntu0.18.04.1
ubuntu advisories UBUNTU-CVE-2019-9021
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- libzip RHEL 8 1.5.1-2.module+el8.1.0+3202+af5476b9
- php-gd RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-cli RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-dba RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-dbg RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-fpm RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-gmp RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
red hat advisories RHSA-2020:1624RHSA-2019:3299RHSA-2019:2519
- php7 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +8 more 7.2.34-150000.4.103.1
- php7 SLE Module for Web and Scripting 15, SLE Module for Package Hub 15 7.2.5-4.32.1
- php5 SLE Software Development Kit 12 SP4, SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 5.5.14-109.51.6
- php53 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 +1 more 5.3.17-112.58.1
- php72 SLE Software Development Kit 12 SP4, SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 7.2.5-1.7.1
- tidy SLE Software Development Kit 12 SP4, SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 1.0.20100204cvs-26.2.1
- libmemcached SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES 12 SP4 +3 more 1.0.18-3.2.1
- php72-memcached SLE Module for Web and Scripting 12 3.1.3-1.3.1
suse advisories SUSE-SU-2022:4067-1SUSE-SU-2019:1461-1SUSE-SU-2019:0985-1SUSE-SU-2019:14013-1SUSE-RU-2019:0823-1
- php7 openSUSE Tumbleweed 7.4.24-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
- php7 openSUSE Leap 15.0 7.2.5-lp150.2.19.1
- php7 openSUSE Leap 15.1 7.2.5-lp151.6.3.1
opensuse advisories openSUSE-SU-2024:11167-1openSUSE-SU-2024:11169-1openSUSE-SU-2019:1573-1openSUSE-SU-2019:1572-1
- php AlmaLinux 8 7.2.24-1.module_el8.3.0+2010+7c76a223
- php AlmaLinux 8 7.2.24-1.module_el8.4.0+2228+7c76a223
- php AlmaLinux 8 7.2.24-1.module_el8.5.0+53+9945c2af
- libzip AlmaLinux 8 1.5.1-2.module_el8.3.0+2010+7c76a223
- libzip AlmaLinux 8 1.5.1-2.module_el8.4.0+2228+7c76a223
- libzip AlmaLinux 8 1.5.1-2.module_el8.5.0+53+9945c2af
- php-gd AlmaLinux 8 7.2.24-1.module_el8.5.0+53+9945c2af
- php-gd AlmaLinux 8 7.2.24-1.module_el8.3.0+2010+7c76a223
almalinux advisories ALSA-2020:1624
- php Rocky Linux 8 7.2.24-1.module+el8.4.0+413+c9202dda
- libzip Rocky Linux 8 1.5.1-2.module+el8.4.0+413+c9202dda
- php-pear Rocky Linux 8 1:1.10.5-9.module+el8.4.0+413+c9202dda
- php-pecl-zip Rocky Linux 8 1.15.3-1.module+el8.4.0+413+c9202dda
- php-pecl-apcu Rocky Linux 8 5.1.12-2.module+el8.4.0+413+c9202dda
rocky linux advisories RLSA-2020:1624
- php7 Alpine 3.15, Alpine 3.14, Alpine 3.13 +4 more 7.2.14-r0
- php7 Alpine 3.8 7.2.17-r0
alpine advisories ALPINE-CVE-2019-9021
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- bugs.php.net/bug.php?id=77247 advisory
Is CVE-2019-9021 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-9021 updated cvss 5.3
php: Heap-based buffer over-read in PHAR reading functions
-
Red Hat Enterprise Linux 5 php Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Software Collections rh-php70-php, rh-php70-php-gd, rh-php70-php-cli, rh-php70-php-dba, rh-php70-php-dbg, rh-php70-php-fpm, +24 moreaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux AppStream (v. 8) php 7.2.24-1.module+el8.2.0+4601+7c76a223, libzip 1.5.1-2.module+el8.1.0+3202+af5476b9, php-gd 7.2.24-1.module+el8.2.0+4601+7c76a223, php-cli 7.2.24-1.module+el8.2.0+4601+7c76a223, php-dba 7.2.24-1.module+el8.2.0+4601+7c76a223, php-dbg 7.2.24-1.module+el8.2.0+4601+7c76a223, +26 morefixed: vendor fix RHSA-2020:1624
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php71-php 7.1.30-1.el7, rh-php72-php 7.2.24-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, +50 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php71-php 7.1.30-1.el7, rh-php72-php 7.2.24-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, +50 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-php71-php 7.1.30-1.el7, rh-php72-php 7.2.24-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, +50 morefixed: vendor fix RHSA-2019:2519
-
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-php72-php 7.2.24-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php72-php-cli 7.2.24-1.el7, rh-php72-php-dba 7.2.24-1.el7, rh-php72-php-dbg 7.2.24-1.el7, rh-php72-php-fpm 7.2.24-1.el7, +22 morefixed: vendor fix RHSA-2019:3299
-
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php71-php 7.1.30-1.el7, rh-php72-php 7.2.24-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, +50 morefixed: vendor fix RHSA-2019:2519
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-027-02 updated cvss 9.8
Festo Didactic SE MES PC
-
Festo Didactic SE MES PC shipped_with_Windows_10affected: vendor fix
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
10.06% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.php.net https://bugs.php.net/bug.php?id=77247 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
bugs.php.net
/bug.php?id=77247
exploit, issue-tracking, patch, vendor-advisory
-
usn.ubuntu.com
/3902-2/
vendor-advisory, third-party-advisory
-
debian.org
/security/2019/dsa-4398
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3902-1/
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-04/msg00083.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-04/msg00104.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-06/msg00041.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-06/msg00044.html
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:2519
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:3299
vendor-advisory
-
securityfocus.com
/bid/107156
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/106747
vdb-entry, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190321-0001/
third-party-advisory
Sources
- CVE List CVE-2019-9021
- NVD CVE-2019-9021
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.