{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-37473",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-07-06T13:01:36.998Z",
        "datePublished": "2023-07-14T20:00:16.909Z",
        "dateUpdated": "2024-10-18T17:42:36.436Z"
    },
    "containers": {
        "cna": {
            "title": "Limited code execution in zenstruck/collections",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-74",
                            "lang": "en",
                            "description": "CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.6,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "CHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq"
                },
                {
                    "name": "https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c"
                },
                {
                    "name": "https://github.com/zenstruck/collection/releases/tag/v0.2.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/zenstruck/collection/releases/tag/v0.2.1"
                }
            ],
            "affected": [
                {
                    "vendor": "zenstruck",
                    "product": "collection",
                    "versions": [
                        {
                            "version": "< 0.2.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-07-14T20:00:16.909Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "zenstruck/collections is a set of helpers for iterating/paginating/filtering collections. Passing _callable strings_ (ie `system`) caused the function to be executed. This would result in a limited subset of specific user input being executed as if it were code. This issue has been addressed in commit `f4b1c48820` and included in release version 0.2.1. Users are advised to upgrade. Users unable to upgrade should ensure that user input is not passed to either `EntityRepository::find()` or `query()`."
                }
            ],
            "source": {
                "advisory": "GHSA-7xr2-8ff7-6fjq",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T17:16:30.334Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/zenstruck/collection/security/advisories/GHSA-7xr2-8ff7-6fjq"
                    },
                    {
                        "name": "https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/zenstruck/collection/commit/f4b1c488206e1b1581b06fcd331686846f13f19c"
                    },
                    {
                        "name": "https://github.com/zenstruck/collection/releases/tag/v0.2.1",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/zenstruck/collection/releases/tag/v0.2.1"
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "zenstruck",
                        "product": "collection",
                        "cpes": [
                            "cpe:2.3:a:zenstruck:collection:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "0.2.1",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-10-18T17:31:12.675933Z",
                                "id": "CVE-2023-37473",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-18T17:42:36.436Z"
                }
            }
        ]
    }
}