{"schema_version":"1.9.0","id":"CVE-2024-2756","published":"2024-04-29T03:34:16.912Z","modified":"2026-08-12T03:51:24.330710418Z","aliases":["BIT-libphp-2024-2756","BIT-php-2024-2756","BIT-php-min-2024-2756","GHSA-wpj3-hf5j-x4v4"],"related":["ALSA-2024:10949","ALSA-2024:10950","ALSA-2024:10951","ALSA-2024:10952","SUSE-SU-2024:1444-1","SUSE-SU-2024:1445-1","SUSE-SU-2024:1446-1","SUSE-SU-2024:2037-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"},{"fixed":"9119509142637005d079bcc2815ee43ec1c79524"},{"introduced":"70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"},{"fixed":"d94fdf582e1fe4a1d85ded00a4c8b9935486c51d"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"9a9c7197c4774c80f622222b3dfa874e6dc44f67"}],"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/cve-osv-conversion/osv-output/CVE-2024-2756.json"}}],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/04/12/11"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2756.json"},{"type":"ADVISORY","url":"https://github.com/php/php-src/security/advisories/GHSA-wpj3-hf5j-x4v4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2756"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240510-0008/"}],"database_specific":{"cna_assigner":"php","cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2756.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}