CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in git-urls project git-urls. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| git-urls_project:git-urls | 1.0.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-3f2q-6294-fmq5 | Go | github.com/whilp/git-urls | <=1.0.1 | no fix published |
Red Hat rates this Low.
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.
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}'`
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Serverless | openshift-serverless-1/client-kn-rhel8 | Affected | |
| OpenShift Serverless | openshift-serverless-clients | Affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argo-rollouts-rhel8 | Fix 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.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.