CVE Program
CNA-CVE-2022-31628
phar wrapper can occur dos when using quine gzip file
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 |
|---|---|---|
| PHP | php | From 7.4.X before 7.4.31 (fixed in 7.4.31) From 8.0.X before 8.0.24 (fixed in 8.0.24) From 8.1.X before 8.1.11 (fixed in 8.1.11) |
References
- https://www.cve.org/CVERecord?id=CVE-2022-31628
- https://bugs.php.net/bug.php?id=81726
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/
- https://www.debian.org/security/2022/dsa-5277
- https://security.gentoo.org/glsa/202211-03
- https://security.netapp.com/advisory/ntap-20221209-0001/
- https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html