CVE-2023-22490

MediumCVSS 5.5/10Last modified Oct 8, 2026

Description

Git is a revision control system. Using a specially-crafted repository, Git prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8 can be tricked into using its local clone optimization even when using a non-local transport. Though Git will abort local clones whose source `$GIT_DIR/objects` directory contains symbolic links, the `objects` directory itself may still be a symbolic link. These two may be combined to include arbitrary files based on known paths on the victim's filesystem within the malicious repository's working copy, allowing for data exfiltration in a similar manner as CVE-2022-39253.

A fix has been prepared and will appear in v2.39.2 v2.38.4 v2.37.6 v2.36.5 v2.35.7 v2.34.7 v2.33.7 v2.32.6, v2.31.7 and v2.30.8. If upgrading is impractical, two short-term workarounds are available. Avoid cloning repositories from untrusted sources with `--recurse-submodules`. Instead, consider cloning repositories without recursively cloning their submodules, and instead run `git submodule update` at each layer. Before doing so, inspect each new `.gitmodules` file to ensure that it does not contain suspicious module URLs.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Feb 14, 2023
Last modified
Oct 8, 2026
NVD status
Modified

Related CVEs from 2023

CVE-2023-224915.4Gatsby is a free and open source framework based on React that helps developers build websites and apps. The gatsby-transformer-remark plugiCVE-2023-224925.9ZITADEL is a combination of Auth0 and Keycloak. RefreshTokens is an OAuth 2.0 feature that allows applications to retrieve new access tokensCVE-2023-224937.5RSSHub is an open source RSS feed generator. RSSHub is vulnerable to Server-Side Request Forgery (SSRF) attacks. This vulnerability allows aCVE-2023-224959.8Izanami is a shared configuration service well-suited for micro-service architecture implementation. Attackers can bypass the authenticationCVE-2023-224969.8Netdata is an open source option for real-time infrastructure monitoring and troubleshooting. An attacker with the ability to establish a stCVE-2023-224979.1Netdata is an open source option for real-time infrastructure monitoring and troubleshooting. Each Netdata Agent has an automatically generaCVE-2023-224997.5Deno is a runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Multi-threaded programs were able to spoof interactive peCVE-2023-22506.7A flaw was found in the Open Cluster Management (OCM) when a user have access to the worker nodes which has the cluster-manager-registrationCVE-2023-225007.5GLPI is a Free Asset and IT Management Software package. Versions 10.0.0 and above, prior to 10.0.6 are vulnerable to Incorrect AuthorizatioCVE-2023-225019.1An authentication vulnerability was discovered in Jira Service Management Server and Data Center which allows an attacker to impersonate anoCVE-2023-225035.3Affected versions of Atlassian Confluence Server and Data Center allow anonymous remote attackers to view the names of attachments and labelCVE-2023-225046.5Affected versions of Atlassian Confluence Server allow remote attackers who have read permissions to a page, but not write permissions, to u
CVE-2023-22490: Medium severity, CVSS 5.5 | Vulnix