CVE-2022-31628: phar wrapper can occur dos when using quine gzip file
Fixed bug : phar wrapper: DOS when using quine gzip file. (CVE-2022-31628)
Other sources
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.
— Launchpad
phar wrapper can occur dos when using quine gzip file
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 8.0.24 - Upgrade
Upgrade
alpine/php7to a version that resolves this vulnerability.Fixed in 7.4.32-r0 - Upgrade
Upgrade
alpine/php8to a version that resolves this vulnerability.Fixed in 8.0.24-r0 - Upgrade
Upgrade
alpine/php8to a version that resolves this vulnerability.Fixed in 8.0.25-r0 - Upgrade
Upgrade
alpine/php81to a version that resolves this vulnerability.Fixed in 8.1.11-r0 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 7.4.31 - Upgrade
Upgrade
PHPto a version that resolves this vulnerability.Fixed in 8.1.11