Vulnerability in PHP
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.006 (48.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 48.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: +0.000
Affected products
- PHP
- PHP Group — versions 7.4.X, 8.0.X, 8.1.X
- Debian Linux — versions 10.0, 11.0
- Fedoraproject Fedora — versions 35, 36, 37
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugs.php.net/bug.php (Permissions Required, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- www.debian.org/security/2022/dsa-5277 (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/202211-03 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20221209-0001/ (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/12/msg00030.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-31628?
- CVE-2022-31628 is a low-severity vulnerability in PHP, classified under Uncontrolled Recursion. CVSS score: 2.3/10. Published 2022-09-28.
- How severe is CVE-2022-31628?
- Low severity. CVSS v3 base score is 2.3 out of 10.
- Is CVE-2022-31628 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.