CVEvulnerability

CVE-2022-31628

5.5 MEDIUM Published 2022-09-28 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-09-28
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
2.3 LOW — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-674, CWE-835

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.

Affected configurations

• 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

Related

Weakness · CWE (2)

  • CWE-674 Uncontrolled Recursion weakness
  • CWE-835 Loop with Unreachable Exit Condition weakness

References