---
id: CVE-2023-32758
aliases:
  - GHSA-4xqq-73wg-5mjp
  - PYSEC-2026-1404
title: git-url-parse Regular Expression Denial of Service
summary: git-url-parse Regular Expression Denial of Service
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: git-url-parse
product: git-url-parse
ecosystem: pip
affected:
  - git-url-parse <= 1.2.2
published: '2023-05-15'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-4xqq-73wg-5mjp'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-32758'
  - url: 'https://github.com/returntocorp/semgrep/pull/7611'
  - url: 'https://github.com/returntocorp/semgrep/pull/7943'
  - url: 'https://github.com/returntocorp/semgrep/pull/7955'
  - url: 'https://github.com/coala/git-url-parse'
  - url: >-
      https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53
  - url: 'https://pypi.org/project/git-url-parse'
tags:
  - osv
  - pip
epss: 0.01033
epssPercentile: 0.62217
ingestedAt: '2026-07-08T18:25:45.737Z'
---

## Overview

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 packages

- `git-url-parse <= 1.2.2`

## Remediation

Refer to the advisory for the patched release.
