Skip to main content
← All vulnerabilities
CVE-2022-31628

phar wrapper can occur dos when using quine gzip file

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.4.31, 8.0.24, 8.1.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • PHP Group PHP

    From 7.4.X · fixed in 7.4.31; From 8.0.X · fixed in 8.0.24; From 8.1.X · fixed in 8.1.11

References 8

bugs.php.net

lists.fedoraproject.org

debian.org

security.gentoo.org

security.netapp.com

lists.debian.org