{"schemaVersion":3,"id":"CVE-2023-22490","aliases":["ALPINE-CVE-2023-22490","UBUNTU-CVE-2023-22490","USN-5871-2","DEBIAN-CVE-2023-22490","CGA-2c93-xww8-7hv8","CGA-7rch-f29w-7fpg"],"status":"published","duplicateOf":null,"title":null,"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.\n\nA 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.","dates":{"published":"2023-02-14T19:47:56.863Z","modified":"2026-10-08T21:14:06.502Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0071,"percentile":0.52679,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0071},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0071,"percentile":0.52679}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0071,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0071,"percentile":0.52679}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"alpine","product":"git","name":"git","label":"git","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/git","purlType":"apk","versions":[{"text":"≥ 2.31.0, < 2.32.6-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.31.0, < 2.34.7-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.31.0, < 2.36.5-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.31.0, < 2.38.4-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.31.0, < 2.39.2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.31.0, < 2.32.6-r0 | ≥ 2.31.0, < 2.34.7-r0 | ≥ 2.31.0, < 2.36.5-r0 | ≥ 2.31.0, < 2.38.4-r0 | ≥ 2.31.0, < 2.39.2-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"git","name":"git","label":"git","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/git","purlType":"apk","versions":[{"text":"< 2.39.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.39.2-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"git","name":"git","label":"git","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/git","purlType":"apk","versions":[{"text":"< 2.39.2-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.39.2-r1","eol":null,"hubHref":null},{"vendor":"debian","product":"git","name":"git","label":"git","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/git","purlType":"deb","versions":[{"text":"< 1:2.39.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.39.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"git","name":"git","label":"git","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/git","purlType":"deb","versions":[{"text":"< 1:2.7.4-0ubuntu1.10+esm5","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.17.1-1ubuntu0.16","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.25.1-1ubuntu3.10","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.34.1-1ubuntu1.8","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.17.1-1ubuntu0.17","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.7.4-0ubuntu1.10+esm5 | < 1:2.17.1-1ubuntu0.16 | < 1:2.25.1-1ubuntu3.10 | < 1:2.34.1-1ubuntu1.8 | < 1:2.17.1-1ubuntu0.17","eol":null,"hubHref":null},{"vendor":"git-scm","product":"git","name":"git","label":"git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.30.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.31.0, < 2.31.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.32.0, < 2.32.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.33.0, < 2.33.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.34.0, < 2.34.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.35.0, < 2.35.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.36.0, < 2.36.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.37.0, < 2.37.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.38.0, < 2.38.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.39.0, < 2.39.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.30.8 | ≥ 2.31.0, < 2.31.7 | ≥ 2.32.0, < 2.32.6 | ≥ 2.33.0, < 2.33.7 | ≥ 2.34.0, < 2.34.7 | ≥ 2.35.0, < 2.35.7 | ≥ 2.36.0, < 2.36.5 | ≥ 2.37.0, < 2.37.6 | ≥ 2.38.0, < 2.38.4 | ≥ 2.39.0, < 2.39.2","eol":null,"hubHref":"/vendor/git-scm/git"},{"vendor":"git","product":"git","name":"Git","label":"git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.39.0, < 2.39.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.38.0, < 2.38.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.37.0, < 2.37.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.36.0, < 2.36.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.35.0, < 2.35.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.34.0, < 2.34.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.33.0, < 2.33.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.32.0, < 2.32.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.31.0, < 2.31.7","noFixRecorded":false,"fixedIn":null},{"text":"< 2.30.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.39.0, < 2.39.2 | ≥ 2.38.0, < 2.38.4 | ≥ 2.37.0, < 2.37.6 | ≥ 2.36.0, < 2.36.5 | ≥ 2.35.0, < 2.35.7 | ≥ 2.34.0, < 2.34.7 | ≥ 2.33.0, < 2.33.7 | ≥ 2.32.0, < 2.32.6 | ≥ 2.31.0, < 2.31.7 | < 2.30.8","eol":null,"hubHref":"/vendor/git/git"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/git/git/security/advisories/GHSA-gw92-x3fm-3g3q","label":"github.com/git/git/security/advisories/GHSA-gw92-x3fm-3g3q","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","Vendor Advisory"]},{"url":"https://github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85","label":"github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85","hostname":"github.com","tags":["X Refsource MISC","Advisory","Vendor Advisory"]},{"url":"https://github.com/git/git/commit/c867e4fa180bec4750e9b54eb10f459030dbebfd","label":"github.com/git/git/commit/c867e4fa180bec4750e9b54eb10f459030dbebfd","hostname":"github.com","tags":["X Refsource MISC","FIX","Patch"]},{"url":"https://security.gentoo.org/glsa/202312-15","label":"security.gentoo.org/glsa/202312-15","hostname":"security.gentoo.org","tags":["Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-22490","label":"security.alpinelinux.org/vuln/CVE-2023-22490","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-22490","label":"ubuntu.com/security/CVE-2023-22490","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5871-1","label":"ubuntu.com/security/notices/USN-5871-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22490","label":"www.cve.org/CVERecord?id=CVE-2023-22490","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5871-2","label":"ubuntu.com/security/notices/USN-5871-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://launchpad.net/bugs/2008277","label":"launchpad.net/bugs/2008277","hostname":"launchpad.net","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-22490","label":"security-tracker.debian.org/tracker/CVE-2023-22490","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22490.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22490.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22490","label":"nvd.nist.gov/vuln/detail/CVE-2023-22490","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":["DLA-3338-1","DSA-5357-1","MGASA-2023-0066","OPENSUSE-SU-2024:12698-1","RHSA-2023:3245","RHSA-2023:3246","RHSA-2024:0407","SUSE-SU-2023:0418-1","SUSE-SU-2023:0426-1","SUSE-SU-2023:0430-1","USN-5871-1"],"duplicates":[],"related":["CGA-FW8H-4VGG-9MW9","CGA-V2C5-MG24-4CV5","OPENSUSE-SU-2024:12698-1","SUSE-SU-2023:0418-1","SUSE-SU-2023:0426-1","SUSE-SU-2023:0430-1","USN-5871-1"]},"timeline":[{"kind":"published","date":"2023-02-14T19:47:56.863Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T21:14:06.502Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:36:05.194Z","stale":false,"partial":false}}