p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in bref/bref

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für bref/bref: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 4

  1. CVE-2024-29186

    Mittel · CVSS 5.3EPSS 0,67%Korrektur verfügbar

    Slow String Operations via MultiPart Requests in Event-Driven Functions

    Bref is an open-source project that helps users go serverless on Amazon Web Services with PHP. When Bref prior to version 2.1.17 is used with the Event-Driven Function runtime and the handler is a `RequestHandlerInterface`, then the Lambda event is converted to a PSR7 object. During the conversion process, if the request is a MultiPart, each part is parsed. In the parsing process, the `Content-Type` header of each part is read using the `Riverline/multipart-parser` library. The library, in the `StreamedPart::parseHeaderContent` function, performs slow multi-byte string operations on the header value. Precisely, the `mb_convert_encoding` func

    • Auf 2.1.17 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2024-24754

    Niedrig · CVSS 3.7EPSS 0,62%Korrektur verfügbar

    Bref Body Parsing Inconsistency in Event-Driven Functions

    Bref enable serverless PHP on AWS Lambda. When Bref is used with the Event-Driven Function runtime and the handler is a `RequestHandlerInterface`, then the Lambda event is converted to a PSR7 object. During the conversion process, if the request is a MultiPart, each part is parsed and its content added in the `$files` or `$parsedBody` arrays. The conversion process produces a different output compared to the one of plain PHP when keys ending with and open square bracket ([) are used. Based on the application logic the difference in the body parsing might lead to vulnerabilities and/or undefined behaviors. This vulnerability is patched in 2.1.

    • Auf 2.1.13 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2024-24752

    Mittel · CVSS 6.5EPSS 0,75%Korrektur verfügbar

    Bref Uploaded Files Not Deleted in Event-Driven Functions

    Bref enable serverless PHP on AWS Lambda. When Bref is used with the Event-Driven Function runtime and the handler is a `RequestHandlerInterface`, then the Lambda event is converted to a PSR7 object. During the conversion process, if the request is a MultiPart, each part is parsed and for each which contains a file, it is extracted and saved in `/tmp` with a random filename starting with `bref_upload_`. The flow mimics what plain PHP does but it does not delete the temporary files when the request has been processed. An attacker could fill the Lambda instance disk by performing multiple MultiPart requests containing files. This vulnerability

    • Auf 2.1.13 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2024-24753

    Mittel · CVSS 4.8EPSS 0,43%Korrektur verfügbar

    Bref Multiple Value Headers Not Supported in ApiGatewayFormatV2

    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.

    • Auf 2.1.13 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →