CVE-2022-31628Uncontrolled Recursion in Group PHP

Severity
5.5MEDIUMNVD
CNA2.3
EPSS
0.0%
top 86.66%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 28
Latest updateMar 2

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages2 packages

NVDphp/php8.0.08.0.24+2
CVEListV5php_group/php7.4.X7.4.31+2

Also affects: Debian Linux 10.0, 11.0, Fedora 35, 36, 37

🔴Vulnerability Details

5
OSV
php7.0 vulnerabilities2023-03-02
OSV
php7.2, php7.4, php8.1 vulnerabilities2022-11-08
GHSA
GHSA-cj46-35hf-rv96: In PHP versions before 72022-09-29
OSV
CVE-2022-31628: In PHP versions before 72022-09-28
CVEList
phar wrapper can occur dos when using quine gzip file2022-09-28

📋Vendor Advisories

5
Ubuntu
PHP vulnerabilities2023-03-02
Ubuntu
PHP vulnerabilities2022-11-08
Red Hat
php: phar: infinite loop when decompressing quine gzip file2022-09-29
Microsoft
phar wrapper can occur dos when using quine gzip file2022-09-13
Debian
CVE-2022-31628: php7.4 - In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code wou...2022
CVE-2022-31628 — Uncontrolled Recursion in Group PHP | cvebase