cve.bz

CVE-2023-46402 git-urls project git-urls

7.5 highExploit referenceEPSS 1.0%

High (7.5) in git-urls project git-urls. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
git-urls 1.0.0 allows ReDOS (Regular Expression Denial of Service) in urls.go.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% (up from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2023-46402 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-46402?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-46402?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-46402 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
git-urls_project:git-urls1.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3f2q-6294-fmq5Gogithub.com/whilp/git-urls<=1.0.1no fix published

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability in the git-urls package requires an attacker to provide malicious input to the git URL parsing function. In Red Hat OpenShift GitOps deployments, git repository URLs are configured exclusively by platform administrators through Application and ApplicationSet custom resources. End users do not have the ability to inject arbitrary git URLs through any exposed API. The attack surface is limited to trusted administrators who already have elevated cluster privileges.

Red Hat's mitigation

To reduce exposure to this vulnerability in OpenShift GitOps:

1. Limit Application and ApplicationSet creation to platform administrators using RBAC.

2. Configure ArgoCD AppProjects with explicit sourceRepos allowlists. Avoid wildcard (*) sources.

3. Use ApplicationSet resource policies to prevent user-provided git URLs from being templated into Applications.

4. In order to Audit which Git repositories are used by GitOps and

Validate no untrusted repos are configured use: `oc get applications -A -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.source.repoURL}{"\n"}{end}'`

ProductPackageStateAdvisory
OpenShift Serverlessopenshift-serverless-1/client-kn-rhel8Affected
OpenShift Serverlessopenshift-serverless-clientsAffected
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel8Fix deferred
Red Hat OpenShift GitOpsopenshift-gitops-1/argo-rollouts-rhel8Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-46402.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON