CVE-2024-2756

Source
https://cve.org/CVERecord?id=CVE-2024-2756
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-2756.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-2756
Aliases
Downstream
Related
Published
2024-04-29T03:34:16.912Z
Modified
2026-06-18T03:56:06.651846121Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2756.json",
    "cna_assigner": "php",
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "8.1.*"
        },
        {
            "fixed": "8.1.28"
        },
        {
            "introduced": "8.2.*"
        },
        {
            "fixed": "8.2.18"
        },
        {
            "introduced": "8.3.*"
        },
        {
            "fixed": "8.3.5"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-2756.json"