CVE-2024-2756

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

MEDIUM
6.5
CVSS Score
Published: April 29, 2024 at 03:34 AM UTC
Updated: June 17, 2026 at 07:25 AM UTC
2 products affected across 1 vendorArchive TarPHP

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 38%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions
PHP· PHPdrupal
60%
8.1.* ≤ v < 8.1.288.2.* ≤ v < 8.2.188.3.* ≤ v < 8.3.58.1.*8.2.*8.3.*
Affected range stops below 8.1.28, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.2.18, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.3.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMphp
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-20

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card