Skip to content
CVE PROGRAM SOURCE RECORD6.5 Medium

CVE-2022-31629

$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

Description

In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

PHP Group PHP

  • 7.4.X to < 7.4.31affected
  • 8.0.X to < 8.0.24affected
  • 8.1.X to < 8.1.11affected

References