CVE-2024-2756

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

State
Published
Severity
6.5 Medium
Published
Apr 29, 2024
Updated
Nov 4, 2025
Reserved
Mar 21, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Nphp

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
PHPPHP Group
  • 8.1.* to before 8.1.28Affected
  • 8.2.* to before 8.2.18Affected
  • 8.3.* to before 8.3.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.