CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-24753: Bref Multiple Value Headers Not Supported in ApiGatewayFormatV2

4.8 CVSS

Description

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.

Classification

CVE ID: CVE-2024-24753

CVSS Base Severity: MEDIUM

CVSS Base Score: 4.8

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Problem Types

CWE-436: Interpretation Conflict

Affected Products

Vendor: brefphp

Product: bref

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.14% (probability of being exploited)

EPSS Percentile: 35.15% (scored less or equal to compared to others)

EPSS Date: 2025-06-19 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: poc

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-24753
https://github.com/brefphp/bref/security/advisories/GHSA-99f9-gv72-fw9r
https://github.com/brefphp/bref/commit/f834027aaf88b3885f4aa8edf6944ae920daf2dc

Timeline