{"id":"CVE-2024-24753","published":"2024-02-01T16:09:55Z","modified":"2025-06-17T14:36:33Z","title":"Bref Multiple Value Headers Not Supported in ApiGatewayFormatV2","vendor":"brefphp","product":"bref","tier":"tail","description":{"text":"Bref enable serverless PHP on AWS Lambda. When Bref is used in combination with an API Gateway with the v2 format, it does not handle multiple values headers. If PHP generates a response with two headers having the same key but different values only the latest one is kept. If an application relies on multiple headers with the same key being set for security reasons, then Bref would lower the application security. For example, if an application sets multiple `Content-Security-Policy` headers, then Bref would just reflect the latest one. This vulnerability is patched in 2.1.13.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00426,"percentile":0.37736,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/brefphp/bref/security/advisories/GHSA-99f9-gv72-fw9r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/brefphp/bref/commit/f834027aaf88b3885f4aa8edf6944ae920daf2dc","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":7.55},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"brefphp","affectedVersions":[{"vendor":"brefphp","product":"bref","versions":["< 2.1.13"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-21T19:51:56.622014Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"bref/bref","vulnerableRanges":["<2.1.13"],"patched":["2.1.13"],"from":["GHSA-99f9-gv72-fw9r"],"provenance":"source"}],"summary":{"text":"Bref, a serverless PHP runtime for AWS Lambda, fails to preserve multiple response headers that share the same name when used with an API Gateway v2-format integration, so only the last value survives. An attacker able to reach the application over the network, and who can induce conditions where the application depends on repeated headers such as multiple Content-Security-Policy values for protection, could weaken the intended security controls, though exploiting this requires a high-complexity setup and no privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:57Z"},"euvd":{"id":"EUVD-2024-0590","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-24752","published":"2024-02-01","fixed":"2.1.13","kev":false},{"cve":"CVE-2024-24753","published":"2024-02-01","fixed":"2.1.13","kev":false},{"cve":"CVE-2024-24754","published":"2024-02-01","fixed":"2.1.13","kev":false},{"cve":"CVE-2024-29186","published":"2024-03-22","fixed":"2.1.17","kev":false,"link":{"from":"CVE-2024-24753","to":"CVE-2024-29186","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:bref/bref","fromFixed":"2.1.13","toFixed":"2.1.17","daysApart":50}]}}],"package":"Packagist:bref/bref"}}