p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de bref/bref

Vulnérabilité publiée pour bref/bref au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 4

  1. CVE-2024-29186

    Moyenne · CVSS 5.3EPSS 0,67%Correctif disponible

    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

    • Mettez à jour vers 2.1.17
    Publication Mise à jour
  2. CVE-2024-24754

    Faible · CVSS 3.7EPSS 0,62%Correctif disponible

    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.

    • Mettez à jour vers 2.1.13
    Publication Mise à jour
  3. CVE-2024-24752

    Moyenne · CVSS 6.5EPSS 0,75%Correctif disponible

    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

    • Mettez à jour vers 2.1.13
    Publication Mise à jour
  4. CVE-2024-24753

    Moyenne · CVSS 4.8EPSS 0,43%Correctif disponible

    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.

    • Mettez à jour vers 2.1.13
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →