ADVISORIES

CVE Program

CNA-CVE-2022-31629

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

Details

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 packages

EcosystemPackageAffected versions
PHPphp
From 7.4.X before 7.4.31 (fixed in 7.4.31)
From 8.0.X before 8.0.24 (fixed in 8.0.24)
From 8.1.X before 8.1.11 (fixed in 8.1.11)

References