{"id":"CVE-2024-24754","published":"2024-02-01T16:10:30Z","modified":"2025-05-15T19:51:37Z","title":"Bref Body Parsing Inconsistency in Event-Driven Functions","vendor":"brefphp","product":"bref","tier":"tail","description":{"text":"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.13.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00618,"percentile":0.50554,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":10.11},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"brefphp","affectedVersions":[{"vendor":"brefphp","product":"bref","versions":["< 2.1.13"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-08T15:38:19.494452Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"bref/bref","vulnerableRanges":["<2.1.13"],"patched":["2.1.13"],"from":["GHSA-82vx-mm6r-gg8w"],"provenance":"source"}],"summary":{"text":"Bref, a serverless PHP runtime for AWS Lambda, mishandles multipart request bodies in its Event-Driven Function runtime when the handler implements RequestHandlerInterface: form keys ending in an open square bracket are converted to PSR-7 objects differently than plain PHP would parse them. An unauthenticated remote attacker can exploit this by sending a crafted multipart request, with exploitation depending on the application logic reacting to the parsing discrepancy, which may lead to integrity impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:24Z"},"euvd":{"id":"EUVD-2024-0566","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-brefphp-bref-cve-2024-24752","parents":[{"from":"CVE-2024-24752","to":"CVE-2024-24754","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Event/Http/Psr7Bridge.php"],"commits":["https://github.com/brefphp/bref/commit/350788de12880b6fd64c4c318ba995388bec840e","https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092"],"basis":"rarely changed file"}]}]}}