CVE-2024-2756

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

At a glance

Severity
MEDIUM 6.5
EPSS
EPSS 38.12 % · percentile 99 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
php
NVD status
Deferred

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

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:Nphp
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NNVD · security@php.net (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected products

ProductVersions
PHP Group · PHPaffected 8.1.* < 8.1.28 ; affected 8.2.* < 8.2.18 ; affected 8.3.* < 8.3.5

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD