Ubuntu CVE Tracker
UBUNTU-CVE-2022-31628
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | php5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | php7.0 | All versions before 7.0.33-0ubuntu0.16.04.16+esm5 (fixed in 7.0.33-0ubuntu0.16.04.16+esm5) |
| Ubuntu:18.04:LTS | php7.2 | All versions before 7.2.24-0ubuntu0.18.04.15 (fixed in 7.2.24-0ubuntu0.18.04.15) |
| Ubuntu:20.04:LTS | php7.4 | All versions before 7.4.3-4ubuntu2.15 (fixed in 7.4.3-4ubuntu2.15) |
| Ubuntu:22.04:LTS | php8.1 | All versions before 8.1.2-1ubuntu2.8 (fixed in 8.1.2-1ubuntu2.8) |
References
- https://ubuntu.com/security/CVE-2022-31628
- https://bugs.php.net/bug.php?id=81726
- https://github.com/php/php-src/commit/404e8bdb68350931176a5bdc86fc417b34fb583d
- https://github.com/php/php-src/commit/432bf196d59bcb661fcf9cb7029cea9b43f490af
- https://ubuntu.com/security/notices/USN-5717-1
- https://ubuntu.com/security/notices/USN-5905-1
- https://www.cve.org/CVERecord?id=CVE-2022-31628