{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-24754",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-01-29T20:51:26.010Z",
        "datePublished": "2024-02-01T16:10:30.539Z",
        "dateUpdated": "2024-08-01T23:28:11.854Z"
    },
    "containers": {
        "cna": {
            "title": "Bref Body Parsing Inconsistency in Event-Driven Functions",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-436",
                            "lang": "en",
                            "description": "CWE-436: Interpretation Conflict",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w"
                },
                {
                    "name": "https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092"
                }
            ],
            "affected": [
                {
                    "vendor": "brefphp",
                    "product": "bref",
                    "versions": [
                        {
                            "version": "< 2.1.13",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-02-01T21:00:56.787Z"
            },
            "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."
                }
            ],
            "source": {
                "advisory": "GHSA-82vx-mm6r-gg8w",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T23:28:11.854Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/brefphp/bref/security/advisories/GHSA-82vx-mm6r-gg8w"
                    },
                    {
                        "name": "https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/brefphp/bref/commit/c77d9f5abf021f29fa96b5720b7b84adbd199092"
                    }
                ]
            }
        ]
    }
}