Vulnerability

CVE-2024-24752

mediumCVSS 3.1 6.5Published 1 Feb 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 is patched in 2.1.13.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Mnapoli bref

Weakness type

References

  • github.com /brefphp/bref/commit/350788de12880b6fd64c4c318ba995388bec84…
  • github.com /brefphp/bref/security/advisories/GHSA-x4hh-frx8-98r5

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning