CVE-2024-24753
PHP vulnerability analysis and mitigation

Overview

Bref, a tool that enables serverless PHP on AWS Lambda, contains a vulnerability (CVE-2024-24753) in versions prior to 2.1.13 when used in combination with API Gateway v2 format. The vulnerability relates to improper handling of multiple value headers in HTTP responses, where only the latest header value is kept when multiple headers share the same key (GitHub Advisory).

Technical details

The vulnerability exists in the HTTP response handling mechanism of Bref, specifically in the src/Event/Http/HttpResponse.php file. When processing responses with multiple headers sharing the same key, the system only retains the last value instead of properly concatenating all values. This behavior deviates from the RFC standard which specifies that multiple header values should be combined with comma separators (GitHub Advisory).

Impact

If an application relies on multiple headers with the same key being set for security reasons, Bref would lower the application security. For example, if an application sets multiple Content-Security-Policy headers, only the latest one would be reflected, potentially weakening the security posture of the application (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.1.13 of Bref. The fix involves concatenating all multiple value headers with a comma separator and returning a single header with all the values to the API Gateway, as per RFC specifications (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2026-23493HIGH8.6
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026
CVE-2026-23495MEDIUM4.3
  • PHPPHP
  • pimcore/admin-ui-classic-bundle
NoYesJan 15, 2026
CVE-2026-23494MEDIUM4.3
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management