{"schemaVersion":3,"id":"CVE-2024-52006","aliases":["ALPINE-CVE-2024-52006","UBUNTU-CVE-2024-52006","DEBIAN-CVE-2024-52006","CGA-3h7r-4628-6p73","CGA-jr7c-fw8r-7h4f"],"status":"published","duplicateOf":null,"title":null,"description":"Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Git defines a line-based protocol that is used to exchange information between Git and Git credential helpers. Some ecosystems (most notably, .NET and node.js) interpret single Carriage Return characters as newlines, which renders the protections against CVE-2020-5260 incomplete for credential helpers that treat Carriage Returns in this way. This issue has been addressed in commit `b01b9b8` which is included in release versions v2.48.1, v2.47.2, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones.","dates":{"published":"2025-01-14T18:39:52.748Z","modified":"2025-11-03T20:45:24.231Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01057,"percentile":0.63931,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01057},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01057,"percentile":0.63931}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01057,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01057,"percentile":0.63931}]},"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-116","name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"},{"id":"CWE-147","name":"Improper Neutralization of Input Terminators","description":"The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as input terminators when they are sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/147.html"},{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences","description":"The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/150.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.41.0, < 2.40.4-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.41.0, < 2.43.6-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.41.0, < 2.45.3-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.41.0, < 2.47.2-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.41.0, < 2.48.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.41.0, < 2.40.4-r0 | ≥ 2.41.0, < 2.43.6-r0 | ≥ 2.41.0, < 2.45.3-r0 | ≥ 2.41.0, < 2.47.2-r0 | ≥ 2.41.0, < 2.48.1-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.48.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.48.1-r0","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.48.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.48.1-r0","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.5-0+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.47.2-0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.39.5-0+deb12u2 | < 1:2.47.2-0.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+esm13","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.17.1-1ubuntu0.18+esm6","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.25.1-1ubuntu3.14","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.34.1-1ubuntu1.12","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.43.0-1ubuntu7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.7.4-0ubuntu1.10+esm13 | < 1:2.17.1-1ubuntu0.18+esm6 | < 1:2.25.1-1ubuntu3.14 | < 1:2.34.1-1ubuntu1.12 | < 1:2.43.0-1ubuntu7.2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"git","product":"git","name":"Git","label":"git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.40.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.41.0, ≤ 2.41.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.42.0, ≤ 2.42.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.43.0, ≤ 2.43.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.44.0, ≤ 2.44.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.45.0, ≤ 2.45.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.46.0, ≤ 2.46.2","noFixRecorded":false,"fixedIn":null},{"text":"= 2.48.0","noFixRecorded":false,"fixedIn":null},{"text":"< 2.40.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.41.0, < 2.41.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.42.0, < 2.42.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.43.0, < 2.43.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.44.3, < 2.44.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.45.3, < 2.45.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.46.3, < 2.46.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.47.0, < 2.47.2","noFixRecorded":false,"fixedIn":null},{"text":"2.48.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.40.3 | ≥ 2.41.0, ≤ 2.41.2 | ≥ 2.42.0, ≤ 2.42.3 | ≥ 2.43.0, ≤ 2.43.5 | ≥ 2.44.0, ≤ 2.44.2 | ≥ 2.45.0, ≤ 2.45.2 | ≥ 2.46.0, ≤ 2.46.2 | = 2.48.0 | < 2.40.4 | ≥ 2.41.0, < 2.41.3 | ≥ 2.42.0, < 2.42.4 | ≥ 2.43.0, < 2.43.6 | ≥ 2.44.3, < 2.44.3 | ≥ 2.45.3, < 2.45.3 | ≥ 2.46.3, < 2.46.3 | ≥ 2.47.0, < 2.47.2 | 2.48.0","eol":null,"hubHref":"/vendor/git/git"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/git/git/security/advisories/GHSA-r5ph-xg7q-xfrp","label":"github.com/git/git/security/advisories/GHSA-r5ph-xg7q-xfrp","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","Patch","Vendor Advisory"]},{"url":"https://github.com/git-ecosystem/git-credential-manager/security/advisories/GHSA-86c2-4x57-wc8g","label":"github.com/git-ecosystem/git-credential-manager/security/advisories/GHSA-86c2-4x57-wc8g","hostname":"github.com","tags":["X Refsource MISC","Advisory","Not Applicable"]},{"url":"https://github.com/git/git/security/advisories/GHSA-qm7j-c969-7j4q","label":"github.com/git/git/security/advisories/GHSA-qm7j-c969-7j4q","hostname":"github.com","tags":["X Refsource MISC","Advisory","Not Applicable"]},{"url":"https://github.com/git/git/commit/b01b9b81d36759cdcd07305e78765199e1bc2060","label":"github.com/git/git/commit/b01b9b81d36759cdcd07305e78765199e1bc2060","hostname":"github.com","tags":["X Refsource MISC","FIX","Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00025.html","label":"lists.debian.org/debian-lts-announce/2025/01/msg00025.html","hostname":"lists.debian.org","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-52006","label":"security.alpinelinux.org/vuln/CVE-2024-52006","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-52006","label":"ubuntu.com/security/CVE-2024-52006","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-52006","label":"www.cve.org/CVERecord?id=CVE-2024-52006","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2025/01/14/4","label":"www.openwall.com/lists/oss-security/2025/01/14/4","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7207-1","label":"ubuntu.com/security/notices/USN-7207-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7207-2","label":"ubuntu.com/security/notices/USN-7207-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7964-1","label":"ubuntu.com/security/notices/USN-7964-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-52006","label":"security-tracker.debian.org/tracker/CVE-2024-52006","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52006.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52006.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52006","label":"nvd.nist.gov/vuln/detail/CVE-2024-52006","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":["DLA-4031-1","DSA-5850-1","MGASA-2025-0016","RHSA-2025:11462","RHSA-2025:11533","RHSA-2025:11534","SUSE-RU-2025:20362-1","SUSE-SU-2025:0116-1","SUSE-SU-2025:0144-1","SUSE-SU-2025:0197-1","SUSE-SU-2025:20197-1","SUSE-SU-2025:20721-1","USN-7207-1","USN-7207-2"],"duplicates":[],"related":["CGA-9HCC-VP2R-7HMH","CGA-H37R-J929-3H2X","CVE-2024-50338","SUSE-RU-2025:20362-1","SUSE-SU-2025:0116-1","SUSE-SU-2025:0144-1","SUSE-SU-2025:0197-1","SUSE-SU-2025:20197-1","SUSE-SU-2025:20721-1","USN-7207-1","USN-7207-2","USN-7964-1"]},"timeline":[{"kind":"published","date":"2025-01-14T18:39:52.748Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T20:45:24.231Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:45:40.231Z","stale":false,"partial":false}}