{"id":"CVE-2024-2756","state":"PUBLISHED","title":"__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix","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.","publishedAt":"2024-04-29T03:34:16.912Z","updatedAt":"2025-11-04T17:18:00.434Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","versions":[{"version":"8.1.*","status":"affected","lessThan":"8.1.28","versionType":"semver"},{"version":"8.2.*","status":"affected","lessThan":"8.2.18","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.5","versionType":"semver"}]}],"references":["https://github.com/php/php-src/security/advisories/GHSA-wpj3-hf5j-x4v4","http://www.openwall.com/lists/oss-security/2024/04/12/11","https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html","https://security.netapp.com/advisory/ntap-20240510-0008/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/2xxx/CVE-2024-2756.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-2756","state":"PUBLISHED","datePublished":"2024-04-29T03:34:16.912Z","dateUpdated":"2025-11-04T17:18:00.434Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2024-03-21T05:10:24.594Z"},"containers":{"cna":{"title":"__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix","descriptions":[{"lang":"en","value":"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":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","versions":[{"version":"8.1.*","status":"affected","lessThan":"8.1.28","versionType":"semver"},{"version":"8.2.*","status":"affected","lessThan":"8.2.18","versionType":"semver"},{"version":"8.3.*","status":"affected","lessThan":"8.3.5","versionType":"semver"}]}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-wpj3-hf5j-x4v4"},{"url":"http://www.openwall.com/lists/oss-security/2024/04/12/11"},{"url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html"},{"url":"https://security.netapp.com/advisory/ntap-20240510-0008/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateUpdated":"2024-06-10T17:11:03.733Z"},"credits":[{"lang":"en","type":"reporter","value":"Marco Squarcina"}],"datePublic":"2024-04-11T17:12:00.000Z","source":{"advisory":"https://github.com/php/php-src/security/advisories/GHSA-wpj3-hf5","discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"php","product":"archive_tar","defaultStatus":"unknown","versions":[{"version":"*","status":"affected"}],"cpes":["cpe:2.3:a:php:archive_tar:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-2756","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-04-29T17:19:19.916680Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:30:06.555Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-wpj3-hf5j-x4v4","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/12/11","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240510-0008/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T17:18:00.434Z"}}]}}}