CVE-2022-31628
MEDIUMCVSS 5.5/10EPSS 0.56%
Last modified
CVE-2022-31628 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.56% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | < 7.4.31 |
| Php | Php | >= 8.0.0, < 8.0.24 |
| Php | Php | >= 8.1.0, < 8.1.11 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Fedoraproject | Fedora | 37 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
References
- https://bugs.php.net/bug.php?id=81726Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202211-03Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221209-0001/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5277Third Party Advisory
- https://bugs.php.net/bug.php?id=81726Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202211-03Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221209-0001/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5277Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2022-31628?
CVE-2022-31628 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.56% probability of exploitation in the next 30 days.
How do I fix CVE-2022-31628?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2022-31628?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
