Original 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.
Affected software
- PHP ≥ 8.0.0 < 8.0.24< 7.4.31≥ 8.1.0 < 8.1.11 Fixed in: 8.0.24, 7.4.31, 8.1.11 exact match
Details
- Published
- 2022-09-29
- Last modified
- 2025-05-21
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L- CWE
- CWE-674
- EPSS (30-day exploit probability)
- 0.63% (percentile 51)
References
- cve.org/CVE-2022-31628
- nvd.nist.gov/vuln/detail/CVE-2022-31628
- bugs.php.net/bug.php?id=81726
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2...
- www.debian.org/security/2022/dsa-5277
- security.gentoo.org/glsa/202211-03
- security.netapp.com/advisory/ntap-20221209-0001/
- lists.debian.org/debian-lts-announce/2022/12/msg00030.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.