Name | CVE-2018-20783 |
Description | In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13, a buffer over-read in PHAR reading functions may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse a .phar file. This is related to phar_parse_pharfile in ext/phar/phar.c. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1608-1, DSA-4353-1, ELA-86-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
php5 (PTS) | jessie, jessie (lts) | 5.6.40+dfsg-0+deb8u21 | fixed |
php7.0 (PTS) | stretch (security) | 7.0.33-0+deb9u12 | fixed |
stretch (lts), stretch | 7.0.33-0+deb9u19 | fixed | |
php7.3 (PTS) | buster, buster (lts) | 7.3.31-1~deb10u8 | fixed |
buster (security) | 7.3.31-1~deb10u7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
php5 | source | wheezy | 5.4.45-0+deb7u19 | ELA-86-1 | ||
php5 | source | jessie | 5.6.39+dfsg-0+deb8u1 | DLA-1608-1 | ||
php5 | source | (unstable) | (unfixed) | |||
php7.0 | source | stretch | 7.0.33-0+deb9u1 | DSA-4353-1 | ||
php7.0 | source | (unstable) | (unfixed) | |||
php7.3 | source | (unstable) | 7.3.0-1 |
Fixed in 5.6.39, 7.0.33, 7.1.25, 7.2.13
PHP Bug: https://bugs.php.net/bug.php?id=77143