CVE-2024-2756

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

Published Apr 29, 2024 CVSS 3.1 · 6.5 Medium EPSS 38.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3810-1 php7.3 security update
Debian DSA Debian DSA DSA-5660-1 php7.4 security update
Debian DSA Debian DSA DSA-5661-1 php8.2 security update
EUVD EUVD EUVD-2024-27700 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.
Ubuntu USN Ubuntu USN USN-6757-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-6757-2 PHP vulnerabilities
History
Type Values Removed Values Added
First Time appeared Php
Php archive Tar
CPEs cpe:2.3:a:php:archive_tar:*:*:*:*:*:*:*:*
Vendors & Products Php
Php archive Tar
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.  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.
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Weaknesses

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Nov 4, 2025, 5:18 PM
Reserved
Mar 21, 2024, 5:10 AM
Status
Deferred
Published
Apr 29, 2024, 4:15 AM
Modified
Jun 17, 2026, 7:25 AM
Severity
Moderate
Public date
Apr 12, 2024, 12:00 AM