{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2023-32758",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2024-08-02T15:25:37.050Z",
        "dateReserved": "2023-05-15T00:00:00",
        "datePublished": "2023-05-15T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2023-06-09T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "giturlparse (aka git-url-parse) through 1.2.2, as used in Semgrep 1.5.2 through 1.24.1, is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing untrusted URLs. This might be relevant if Semgrep is analyzing an untrusted package (for example, to check whether it accesses any Git repository at an http:// URL), and that package's author placed a ReDoS attack payload in a URL used by the package."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53"
                },
                {
                    "url": "https://pypi.org/project/git-url-parse"
                },
                {
                    "url": "https://github.com/returntocorp/semgrep/pull/7611"
                },
                {
                    "url": "https://github.com/returntocorp/semgrep/pull/7955"
                },
                {
                    "url": "https://github.com/returntocorp/semgrep/pull/7943"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T15:25:37.050Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://pypi.org/project/git-url-parse",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/returntocorp/semgrep/pull/7611",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/returntocorp/semgrep/pull/7955",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/returntocorp/semgrep/pull/7943",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}