Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. bref/bref
  4. ›
  5. CVE-2024-24753

CVE-2024-24753: Interpretation Conflict

February 1, 2024

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.

References

  • github.com/advisories/GHSA-99f9-gv72-fw9r
  • github.com/brefphp/bref/blob/2.1.12/src/Event/Http/HttpResponse.php
  • github.com/brefphp/bref/commit/f834027aaf88b3885f4aa8edf6944ae920daf2dc
  • github.com/brefphp/bref/security/advisories/GHSA-99f9-gv72-fw9r
  • nvd.nist.gov/vuln/detail/CVE-2024-24753

Code Behaviors & Features

Detect and mitigate CVE-2024-24753 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.13

Fixed versions

  • 2.1.13

Solution

Upgrade to version 2.1.13 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-436: Interpretation Conflict
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/bref/bref/CVE-2024-24753.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.