CVE-2019-9021
php: Heap-based buffer over-read in PHAR reading functions
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-125
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 29 fixes
Oracle Linux 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | php-pecl-zip | 1.15.3-1.module+el8.2.0+5510+6771133c |
| 8 | libzip +2 | 1.5.1-2.module+el8.2.0+5510+6771133c |
| 8 | php-pear | 1:1.10.5-9.module+el8.2.0+5510+6771133c |
| 8 | apcu-panel +2 | 5.1.12-2.module+el8.2.0+5510+6771133c |
| 8 | php +26 | 7.2.24-1.module+el8.2.0+5510+6771133c |
Red Hat 2 releases · 7 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | php +24 | affected | — |
| 7 | rh-php71-php +28 | 0:7.1.30-1.el7 | RHSA-2019:2519 |
| 7 | rh-php72-php +28 | 0:7.2.24-1.el7 | RHSA-2019:3299 |
| 8 (php:7.2) | php-pecl-zip | 0:1.15.3-1.module+el8.1.0+3186+20164e6f | RHSA-2020:1624 |
| 8 (php:7.2) | libzip +2 | 0:1.5.1-2.module+el8.1.0+3202+af5476b9 | RHSA-2020:1624 |
| 8 (php:7.2) | apcu-panel +2 | 0:5.1.12-2.module+el8.1.0+3202+af5476b9 | RHSA-2020:1624 |
2 more rows
alma 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (php:7.2) | php-pecl-zip | 1.15.3-1.module_el8.3.0+2010+7c76a223 |
| 8 (php:7.2) | libzip +2 | 1.5.1-2.module_el8.3.0+2010+7c76a223 |
| 8 (php:7.2) | php-pear | 1:1.10.5-9.module_el8.3.0+2010+7c76a223 |
| 8 (php:7.2) | apcu-panel +2 | 5.1.12-2.module_el8.3.0+2010+7c76a223 |
| 8 (php:7.2) | php +26 | 7.2.24-1.module_el8.3.0+2010+7c76a223 |
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | php7-0 | 7.0.33-0+deb9u2 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | php7 +48 | 7.4.24-1.1 | openSUSE-SU-2024:11167-1 |
| Tumbleweed | php8 +46 | 8.0.11-1.1 | openSUSE-SU-2024:11169-1 |
rocky 2 releases · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | php +26 | 7.2.24-1.module+el8.4.0+413+c9202dda |
| 8 (php:7.2) | php-pecl-zip | 1.15.3-1.module+el8.4.0+413+c9202dda |
| 8 (php:7.2) | libzip +2 | 1.5.1-2.module+el8.4.0+413+c9202dda |
| 8 (php:7.2) | php-pear | 1:1.10.5-9.module+el8.4.0+413+c9202dda |
| 8 (php:7.2) | apcu-panel +2 | 5.1.12-2.module+el8.4.0+413+c9202dda |
| 8 (php:7.2) | php +26 | 7.2.24-1.module+el8.4.0+413+c9202dda |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | php7-2 | 7.2.15-0ubuntu0.18.04.1 |
| 18.04-ESM | php7-2 | 7.2.15-0ubuntu0.18.04.1 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html
- www.securityfocus.com http://www.securityfocus.com/bid/106747
- www.securityfocus.com http://www.securityfocus.com/bid/107156
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:2519
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:3299
- access.redhat.com https://access.redhat.com/security/cve/CVE-2019-9021
- bugs.php.net https://bugs.php.net/bug.php?id=77247
Show all 56 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1680545
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1685123
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1685132
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1685398
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1685404
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1685412
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1688897
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1688922
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1688934
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1688939
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1702246
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1702256
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1707299
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1724152
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1724154
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1739459
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1739465
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20783
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11034
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11035
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11036
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11039
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11040
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11041
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11042
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9020
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9021
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9022
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9023
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9024
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9637
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9638
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9639
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9640
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2020-1624.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2020:1624
- linux.oracle.com https://linux.oracle.com/cve/CVE-2019-9021.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-1624.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2019-9021
- security.netapp.com https://security.netapp.com/advisory/ntap-20190321-0001/
- ubuntu.com https://ubuntu.com/security/notices/USN-3902-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3902-2
- usn.ubuntu.com https://usn.ubuntu.com/3902-1/
- usn.ubuntu.com https://usn.ubuntu.com/3902-2/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2019-9021
- www.debian.org https://www.debian.org/security/2019/dsa-4398
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.