CVE-2022-31628
Low
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.
SeverityLow
CVSS2.3
Exploit probability—
Product
Php
PublishedSep 28, 2022
First seenSep 28, 2022
Weakness typeCWE-674CWE-674
How to fix
Update
- php php7.4.31, 8.0.24, 8.1.11 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/
- debian.org/security/2022/dsa-5277
- security.gentoo.org/glsa/202211-03
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| php php | v < 7.4.31, 8.0.0 ≤ v < 8.0.24, 8.1.0 ≤ v < 8.1.11 | 7.4.31, 8.0.24, 8.1.11 |
| fedoraproject fedora | 35, 36, 37 | — |
| debian debian_linux | 10.0, 11.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.