CVE-2024-24753CWE-436

Bref Multiple Value Headers Not Supported in ApiGatewayFormatV2

Medium · published February 1, 2024

CVSS v3.1
4.8
EPSS
0%
Percentile
35.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00426 · 35.8th percentile
Weakness
CWE-436 · Interpretation Conflict
Published
2024-02-01T16:09Z
EPSS history
Timeline
  • 01 FEB 16:09Z
    Bref Multiple Value Headers Not Supported in ApiGatewayFormatV2
    cvelistv5