Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-32758

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-32758
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 12:21 UTC · Revision 1

Source evidence

CVE-2023-32758

core-osv · Original source

Published 15 May 2023, 00:00 UTC

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.

osv:CVE-2023-32758
Complete source record
{
  "id": "986c9608b943690e0b91746a3645eff67a52dc75fde76a200e03c998693729fa",
  "url": "https://osv.dev/vulnerability/CVE-2023-32758",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-32758",
    "summary": "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.",
    "evidence": "osv:CVE-2023-32758",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-32758",
      "aliases": [
        "CVE-2023-32758",
        "GHSA-4xqq-73wg-5mjp",
        "PYSEC-2026-1404"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/coala/git-url-parse",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a5b7db9f7509faedb740ce55fc9dc100d0dd0e83"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.2.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:coala:git-url-parse:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/semgrep/semgrep",
              "type": "GIT",
              "events": [
                {
                  "introduced": "be930f6c55d4999d7d4bc71dff2771be6536f831"
                },
                {
                  "last_affected": "ed1f1700c3d855396d91ef904916b0bdd3aece17"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.5.2"
                      },
                      {
                        "last_affected": "1.24.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.1",
            "1.0.2",
            "1.0.1",
            "1.0.0",
            "v1.24.1",
            "ast_generic_full_1.8.0",
            "ast_generic_1.8.0",
            "commons_1.8.0",
            "lib_parsing_1.5.5",
            "profiling_1.5.5",
            "1.5.5",
            "1.5.4",
            "1.5.3",
            "1.5.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-32758.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.723132435Z",
      "provider": "osv",
      "references": [
        "https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32758.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-32758",
        "https://github.com/returntocorp/semgrep/pull/7611",
        "https://github.com/returntocorp/semgrep/pull/7943",
        "https://github.com/returntocorp/semgrep/pull/7955",
        "https://pypi.org/project/git-url-parse"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32758.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-32758",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519269,
  "published_at": "2023-05-15T00:00:00+00:00"
}