CVE-2019-9021 Information disclosure in n/a

Critical 9.8 Published Updated

A heap-based buffer over-read in the PHP PHAR extension allows attackers to read allocated or unallocated memory when parsing file names.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-9021?

CVE-2019-9021 is a critical vulnerability in Canonical Ubuntu Linux, published on 22 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2019-9021?

It affects 5 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Netapp Storage Automation Store, Opensuse Leap, Php Php.

How do I fix CVE-2019-9021?

Upgrade to a fixed version.

Is CVE-2019-9021 being exploited?

There is no known exploitation of CVE-2019-9021 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-3fr9-q295-2jq3, UBUNTU-CVE-2019-9021.

Is CVE-2019-9021 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free