Name | CVE-2022-31628 |
Description | In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop. |
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-3243-1, DSA-5277-1, ELA-775-1, ELA-777-1 |
Debian Bugs | 1021138 |
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 | vulnerable |
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 | |
php7.4 (PTS) | bullseye | 7.4.33-1+deb11u5 | fixed |
bullseye (security) | 7.4.33-1+deb11u6 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
php5 | source | jessie | 5.6.40+dfsg-0+deb8u16 | ELA-777-1 | ||
php5 | source | (unstable) | (unfixed) | |||
php7.0 | source | stretch | 7.0.33-0+deb9u13 | ELA-775-1 | ||
php7.0 | source | (unstable) | (unfixed) | |||
php7.3 | source | buster | 7.3.31-1~deb10u2 | DLA-3243-1 | ||
php7.3 | source | (unstable) | (unfixed) | |||
php7.4 | source | bullseye | 7.4.33-1+deb11u1 | DSA-5277-1 | ||
php7.4 | source | (unstable) | (unfixed) | |||
php8.1 | source | (unstable) | 8.1.12-1 | 1021138 |
Fixed in 8.1.11, 7.4.32
PHP Bug: https://bugs.php.net/bug.php?id=81726
https://github.com/php/php-src/commit/404e8bdb68350931176a5bdc86fc417b34fb583d
https://github.com/php/php-src/commit/432bf196d59bcb661fcf9cb7029cea9b43f490af