{"id":"CVE-2024-24754","state":"PUBLISHED","title":"Bref Body Parsing Inconsistency in Event-Driven Functions","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 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.","publishedAt":"2024-02-01T16:10:30.539Z","updatedAt":"2025-05-15T19:51:37.651Z","severity":{"score":3.7,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["brefphp bref"],"affected":[{"vendor":"brefphp","product":"bref","versions":[{"version":"< 2.1.13","status":"affected"}]}],"references":["https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w","https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092"],"weaknesses":["CWE-436"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/24xxx/CVE-2024-24754.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-24754","state":"PUBLISHED","datePublished":"2024-02-01T16:10:30.539Z","dateUpdated":"2025-05-15T19:51:37.651Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-01-29T20:51:26.010Z"},"containers":{"cna":{"title":"Bref Body Parsing Inconsistency in Event-Driven Functions","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"brefphp","product":"bref","versions":[{"version":"< 2.1.13","status":"affected"}]}],"references":[{"url":"https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w","name":"https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092","name":"https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-436","lang":"en","description":"CWE-436: Interpretation Conflict","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-02-01T21:00:56.787Z"},"source":{"advisory":"GHSA-82vx-mm6r-gg8w","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w","name":"https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092","name":"https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:28:11.854Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-08T15:38:19.494452Z","id":"CVE-2024-24754","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-15T19:51:37.651Z"}}]}}}