Bug 2133688 (CVE-2022-31628) - CVE-2022-31628 php: phar wrapper can occur dos when using quine gzip file
Summary: CVE-2022-31628 php: phar wrapper can occur dos when using quine gzip file
Keywords:
Status: NEW
Alias: CVE-2022-31628
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2135291 2135293 2135294 2135295 2161666 2161667 2133690 2135296
Blocks: 2130767
TreeView+ depends on / blocked
 
Reported: 2022-10-11 07:52 UTC by TEJ RATHI
Modified: 2023-01-18 13:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in PHP due to an infinite loop within the phar uncompressor code when processing "quines" gzip files. This vulnerability allows a remote attacker to pass a specially crafted archive to the application, and consume all available system resources, causing a denial of service condition.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-10-11 07:52:07 UTC
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.

https://bugs.php.net/bug.php?id=81726

Comment 1 TEJ RATHI 2022-10-11 07:54:43 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 2133690]


Note You need to log in before you can comment on or make changes to this bug.