{"api_version":"1","generated_at":"2026-04-23T03:26:00+00:00","cve":"CVE-2023-22490","urls":{"html":"https://cve.report/CVE-2023-22490","api":"https://cve.report/api/cve/CVE-2023-22490.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-22490","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-22490"},"summary":{"title":"CVE-2023-22490","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-02-14 20:15:00","updated_at":"2023-12-27 10:15:00"},"problem_types":["CWE-59"],"metrics":[],"references":[{"url":"https://github.com/git/git/commit/c867e4fa180bec4750e9b54eb10f459030dbebfd","name":"https://github.com/git/git/commit/c867e4fa180bec4750e9b54eb10f459030dbebfd","refsource":"MISC","tags":[],"title":"Sync with Git 2.39.2 · git/git@c867e4f · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202312-15","name":"https://security.gentoo.org/glsa/202312-15","refsource":"","tags":[],"title":"Git: Multiple Vulnerabilities (GLSA 202312-15) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85","name":"https://github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85","refsource":"MISC","tags":[],"title":"Local clone optimization dereferences symbolic links by default · Advisory · git/git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/git/git/security/advisories/GHSA-gw92-x3fm-3g3q","name":"https://github.com/git/git/security/advisories/GHSA-gw92-x3fm-3g3q","refsource":"MISC","tags":[],"title":"Local clone-based data exfiltration with non-local transports · Advisory · git/git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22490","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22490","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"22490","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"git-scm","cpe5":"git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-22490","qid":"160648","title":"Oracle Enterprise Linux Security Update for git (ELSA-2023-3245)"},{"cve":"CVE-2023-22490","qid":"160686","title":"Oracle Enterprise Linux Security Update for git (ELSA-2023-3246)"},{"cve":"CVE-2023-22490","qid":"181607","title":"Debian Security Update for git (DLA 3338-1)"},{"cve":"CVE-2023-22490","qid":"181677","title":"Debian Security Update for git (DSA 5357-1)"},{"cve":"CVE-2023-22490","qid":"182474","title":"Debian Security Update for git (CVE-2023-22490)"},{"cve":"CVE-2023-22490","qid":"199174","title":"Ubuntu Security Notification for Git Vulnerabilities (USN-5871-1)"},{"cve":"CVE-2023-22490","qid":"241549","title":"Red Hat Update for git (RHSA-2023:3246)"},{"cve":"CVE-2023-22490","qid":"241551","title":"Red Hat Update for git (RHSA-2023:3245)"},{"cve":"CVE-2023-22490","qid":"242859","title":"Red Hat Update for git (RHSA-2024:0407)"},{"cve":"CVE-2023-22490","qid":"283708","title":"Fedora Security Update for git (FEDORA-2023-5b372318ff)"},{"cve":"CVE-2023-22490","qid":"283733","title":"Fedora Security Update for git (FEDORA-2023-2b3acb6cfd)"},{"cve":"CVE-2023-22490","qid":"354787","title":"Amazon Linux Security Advisory for git : ALAS2-2023-1984"},{"cve":"CVE-2023-22490","qid":"354808","title":"Amazon Linux Security Advisory for git : ALAS-2023-1700"},{"cve":"CVE-2023-22490","qid":"355065","title":"Amazon Linux Security Advisory for git : AL2012-2023-389"},{"cve":"CVE-2023-22490","qid":"355274","title":"Amazon Linux Security Advisory for git : ALAS2023-2023-113"},{"cve":"CVE-2023-22490","qid":"378539","title":"Alibaba Cloud Linux Security Update for git (ALINUX3-SA-2023:0047)"},{"cve":"CVE-2023-22490","qid":"378542","title":"GitLab Multiple Security Vulnerability (14-Feb-23)"},{"cve":"CVE-2023-22490","qid":"379259","title":"GitLab Multiple Security Vulnerabilities (gitlab- 15.8.2, 15.7.7 and 15.6.8)"},{"cve":"CVE-2023-22490","qid":"502661","title":"Alpine Linux Security Update for git"},{"cve":"CVE-2023-22490","qid":"502662","title":"Alpine Linux Security Update for git"},{"cve":"CVE-2023-22490","qid":"502665","title":"Alpine Linux Security Update for git"},{"cve":"CVE-2023-22490","qid":"502728","title":"Alpine Linux Security Update for git"},{"cve":"CVE-2023-22490","qid":"503107","title":"Alpine Linux Security Update for git"},{"cve":"CVE-2023-22490","qid":"505873","title":"Alpine Linux Security Update for git"},{"cve":"CVE-2023-22490","qid":"673004","title":"EulerOS Security Update for git (EulerOS-SA-2023-1841)"},{"cve":"CVE-2023-22490","qid":"673007","title":"EulerOS Security Update for git (EulerOS-SA-2023-1866)"},{"cve":"CVE-2023-22490","qid":"673014","title":"EulerOS Security Update for git (EulerOS-SA-2023-1951)"},{"cve":"CVE-2023-22490","qid":"673023","title":"EulerOS Security Update for git (EulerOS-SA-2023-1973)"},{"cve":"CVE-2023-22490","qid":"673069","title":"EulerOS Security Update for git (EulerOS-SA-2023-2145)"},{"cve":"CVE-2023-22490","qid":"673139","title":"EulerOS Security Update for git (EulerOS-SA-2023-2289)"},{"cve":"CVE-2023-22490","qid":"673140","title":"EulerOS Security Update for git (EulerOS-SA-2023-2265)"},{"cve":"CVE-2023-22490","qid":"691069","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for git (9548d6ed-b1da-11ed-b0f4-002590f2a714)"},{"cve":"CVE-2023-22490","qid":"710816","title":"Gentoo Linux Git Multiple Vulnerabilities (GLSA 202312-15)"},{"cve":"CVE-2023-22490","qid":"753695","title":"SUSE Enterprise Linux Security Update for git (SUSE-SU-2023:0426-1)"},{"cve":"CVE-2023-22490","qid":"753699","title":"SUSE Enterprise Linux Security Update for git (SUSE-SU-2023:0418-1)"},{"cve":"CVE-2023-22490","qid":"753706","title":"SUSE Enterprise Linux Security Update for git (SUSE-SU-2023:0430-1)"},{"cve":"CVE-2023-22490","qid":"905572","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for git (13607)"},{"cve":"CVE-2023-22490","qid":"906542","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for git (13607-1)"},{"cve":"CVE-2023-22490","qid":"906596","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for git (13607-3)"},{"cve":"CVE-2023-22490","qid":"906796","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for git (13607-5)"},{"cve":"CVE-2023-22490","qid":"91992","title":"Microsoft Visual Studio Security Updates for March 2023"},{"cve":"CVE-2023-22490","qid":"941120","title":"AlmaLinux Security Update for git (ALSA-2023:3246)"},{"cve":"CVE-2023-22490","qid":"941122","title":"AlmaLinux Security Update for git (ALSA-2023:3245)"},{"cve":"CVE-2023-22490","qid":"960936","title":"Rocky Linux Security Update for git (RLSA-2023:3246)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-22490","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","cweId":"CWE-59"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"git","product":{"product_data":[{"product_name":"git","version":{"version_data":[{"version_affected":"=","version_value":">= 2.39.0, < 2.39.2"},{"version_affected":"=","version_value":">= 2.38.0, < 2.38.4"},{"version_affected":"=","version_value":">= 2.37.0, < 2.37.6"},{"version_affected":"=","version_value":">= 2.36.0, < 2.36.5"},{"version_affected":"=","version_value":">= 2.35.0, < 2.35.7"},{"version_affected":"=","version_value":">= 2.34.0, < 2.34.7"},{"version_affected":"=","version_value":">= 2.33.0, < 2.33.7"},{"version_affected":"=","version_value":">= 2.32.0, < 2.32.6"},{"version_affected":"=","version_value":">= 2.31.0, < 2.31.7"},{"version_affected":"=","version_value":"< 2.30.8"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/git/git/security/advisories/GHSA-gw92-x3fm-3g3q","refsource":"MISC","name":"https://github.com/git/git/security/advisories/GHSA-gw92-x3fm-3g3q"},{"url":"https://github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85","refsource":"MISC","name":"https://github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85"},{"url":"https://github.com/git/git/commit/c867e4fa180bec4750e9b54eb10f459030dbebfd","refsource":"MISC","name":"https://github.com/git/git/commit/c867e4fa180bec4750e9b54eb10f459030dbebfd"}]},"source":{"advisory":"GHSA-gw92-x3fm-3g3q","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-02-14 20:15:00","lastModifiedDate":"2023-12-27 10:15:00","problem_types":["CWE-59"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionStartIncluding":"2.39.0","versionEndExcluding":"2.39.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionStartIncluding":"2.38.0","versionEndExcluding":"2.38.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionStartIncluding":"2.37.0","versionEndExcluding":"2.37.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionStartIncluding":"2.36.0","versionEndExcluding":"2.36.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionStartIncluding":"2.35.0","versionEndExcluding":"2.35.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionStartIncluding":"2.34.0","versionEndExcluding":"2.34.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionStartIncluding":"2.33.0","versionEndExcluding":"2.33.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionStartIncluding":"2.32.0","versionEndExcluding":"2.32.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionStartIncluding":"2.31.0","versionEndExcluding":"2.31.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*","versionEndExcluding":"2.30.8","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}