ADVISORIES

CVE Program

CNA-CVE-2024-2756

__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix

Details

Due to an incomplete fix to CVE-2022-31629 https://github.com/advisories/GHSA-c43m-486j-j32p , network and same-site attackers can 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 8.1 before 8.1.28 (fixed in 8.1.28)
From 8.2 before 8.2.18 (fixed in 8.2.18)
From 8.3 before 8.3.5 (fixed in 8.3.5)

References