Vulnerability
CVE-2022-31628
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.
38 advisories report this vulnerability, across 12 ecosystems.
Advisories in Red Hat
-
RHSA-2023:0848
Red Hat Security Advisory: php:8.0 security update
-
RHSA-2023:0965
Red Hat Security Advisory: php security update
-
RHSA-2023:2417
Red Hat Security Advisory: php:8.1 security update
-
RHSA-2023:2903
Red Hat Security Advisory: php:7.4 security update
-
RHVEX-CVE-2022-31628
php: phar: infinite loop when decompressing quine gzip file
References
- https://bugs.php.net/bug.php?id=81726
- https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/
- 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/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/
- https://security.gentoo.org/glsa/202211-03
- https://security.netapp.com/advisory/ntap-20221209-0001/
- https://www.debian.org/security/2022/dsa-5277