Vulnerability in Brefphp Bref

CVE-2024-24753

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.

EPSS: 0.004 (35.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-24753?
CVE-2024-24753 is a medium-severity vulnerability in Brefphp Bref, classified under CWE-436. CVSS score: 4.8/10. Published 2024-02-01.
How severe is CVE-2024-24753?
Medium severity. CVSS v3 base score is 4.8 out of 10.