CVE-2024-2756: __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix
Vulnerability summary
CVE-2024-2756 is a medium (CVSS 6.5) Improper Input Validation vulnerability in php group php. EPSS estimates a 38.12% chance of exploitation in the next 30 days, higher than 98.5% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 15 · Related 6Timeline
- 29-04-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
38.12%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
No change 0.00 pp
From 38.12% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu6 products
- php5All versions (No fix recorded)
- php7.0< 7.0.33-0ubuntu0.16.04.16+esm9
- php7.2< 7.2.24-0ubuntu0.18.04.17+esm3
- php7.4< 7.4.3-4ubuntu2.22
- php8.1< 8.1.2-1ubuntu2.17
Alpine3 products
- php81< 8.1.28-r0
- php82< 8.2.18-r0
- php83< 8.3.6-r0 | < 8.3.5-r0
Debian1 product
- php8.2< 8.2.18-1~deb12u1
Php group1 product
- php≥ 8.1.*, < 8.1.28 | ≥ 8.2.*, < 8.2.18 | ≥ 8.3.*, < 8.3.5
4 vendors · 11 products