Skip to main content
← All vulnerabilities
CVE-2024-24753GHSA-99F9-GV72-FW9R

Bref Multiple Value Headers Not Supported in ApiGatewayFormatV2

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • brefphp bref

    fixed in 2.1.13

  • bref/brefPackagist

    fixed in 2.1.13

References 2

GitHub · brefphp/bref