{"id":"CVE-2024-52005","summary":"The sideband payload is passed unfiltered to the terminal in git","details":"Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called \"sideband channel\". These messages will be prefixed with \"remote:\" and printed directly to the standard error output. Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list. Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources.","aliases":["BIT-git-2024-52005","GHSA-7jjc-gg6m-3329"],"modified":"2026-04-10T05:14:58.905324Z","published":"2025-01-15T17:35:02.379Z","related":["ALSA-2025:7409","ALSA-2025:7482","ALSA-2025:8414","CGA-rvgc-46q7-x4wm"],"database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52005.json","cwe_ids":["CWE-116","CWE-150"]},"references":[{"type":"WEB","url":"https://lore.kernel.org/git/1M9FnZ-1taoNo1wwh-00ESSd@mail.gmx.net"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52005.json"},{"type":"ADVISORY","url":"https://github.com/git/git/security/advisories/GHSA-7jjc-gg6m-3329"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52005"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"fbe8d3079d4a96aeb4e4529cc93cc0043b759a05"},{"last_affected":"f93ff170b93a1782659637824b25923245ac9dd1"}],"database_specific":{"versions":[{"introduced":"2.48.0"},{"last_affected":"2.48.1"}]}},{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"777489f9e09c8d0dd6b12f9d90de6376330577a2"},{"last_affected":"92999a42db1c5f43f330e4f2bca4026b5b81576f"}],"database_specific":{"versions":[{"introduced":"2.47.0"},{"last_affected":"2.47.1"}]}},{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"39bf06adf96da25b87c9aa7d35a32ef3683eb4a4"},{"last_affected":"5c21db3a0d5f4414b65e114ca21c5a1fe736f2bc"}],"database_specific":{"versions":[{"introduced":"2.46.0"},{"last_affected":"2.46.3"}]}},{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"786a3e4b8d754d2b14b1208b98eeb0a554ef19a8"},{"last_affected":"fc16eb306c2ad25c080612ae85fdeba1fbcbfc98"}],"database_specific":{"versions":[{"introduced":"2.45.0"},{"last_affected":"2.45.3"}]}},{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"3c2a3fdc388747b9eaf4a4a4f2035c1c9ddb26d0"},{"last_affected":"2f323bb16219c105e0c576ea4c2ece9863f5d926"}],"database_specific":{"versions":[{"introduced":"2.44.0"},{"last_affected":"2.44.3"}]}},{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"564d0252ca632e0264ed670534a51d18a689ef5d"},{"last_affected":"664d4fa692cb8637a7c9297c94abf0de8593e585"}],"database_specific":{"versions":[{"introduced":"2.43.0"},{"last_affected":"2.43.6"}]}},{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"43c8a30d150ecede9709c1f2527c8fba92c65f40"},{"last_affected":"54ddf17f827969c989576f2411d9ff519fa8091f"}],"database_specific":{"versions":[{"introduced":"2.42.0"},{"last_affected":"2.42.4"}]}},{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"fe86abd7511a9a6862d5706c6fa1d9b57a63ba09"},{"last_affected":"6fd641a521a722e438b291ec7b852b7bb508b18b"}],"database_specific":{"versions":[{"introduced":"2.41.0"},{"last_affected":"2.41.3"}]}},{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"0"},{"last_affected":"54a3711a9dd968a04249beef157393d64b579d64"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.40.4"}]}}],"versions":["v0.99","v0.99.1","v0.99.2","v0.99.3","v0.99.4","v0.99.5","v0.99.6","v0.99.7","v0.99.8","v0.99.8a","v0.99.8b","v0.99.8c","v0.99.8d","v0.99.8e","v0.99.8f","v0.99.8g","v0.99.9a","v0.99.9b","v0.99.9c","v0.99.9d","v0.99.9e","v0.99.9f","v0.99.9g","v0.99.9h","v0.99.9i","v0.99.9j","v0.99.9k","v0.99.9l","v0.99.9m","v0.99.9n","v1.0.0","v1.0rc1","v1.0rc2","v1.0rc3","v1.0rc4","v1.0rc5","v1.0rc6","v1.1.0","v1.2.0","v1.3.0-rc1","v1.4.1","v1.4.1-rc1","v1.4.1-rc2","v1.4.2","v1.4.2-rc1","v1.4.2-rc2","v1.4.2-rc3","v1.4.2-rc4","v1.4.3","v1.4.3-rc1","v1.4.3-rc2","v1.4.3-rc3","v1.4.4","v1.4.4-rc1","v1.4.4-rc2","v1.4.4.1","v1.5.0","v1.5.0-rc0","v1.5.0-rc1","v1.5.0-rc2","v1.5.0-rc3","v1.5.0-rc4","v1.5.1","v1.5.1-rc1","v1.5.1-rc2","v1.5.1-rc3","v1.5.2","v1.5.2-rc0","v1.5.2-rc1","v1.5.2-rc2","v1.5.2-rc3","v1.5.3","v1.5.3-rc0","v1.5.3-rc1","v1.5.3-rc2","v1.5.3-rc3","v1.5.3-rc4","v1.5.3-rc5","v1.5.3-rc6","v1.5.3-rc7","v1.5.3.1","v1.5.4","v1.5.4-rc0","v1.5.4-rc1","v1.5.4-rc2","v1.5.4-rc3","v1.5.4-rc4","v1.5.4-rc5","v1.5.5","v1.5.5-rc0","v1.5.5-rc1","v1.5.5-rc2","v1.5.5-rc3","v1.5.6","v1.5.6-rc0","v1.5.6-rc1","v1.5.6-rc2","v1.5.6-rc3","v1.6.0","v1.6.0-rc0","v1.6.0-rc1","v1.6.0-rc2","v1.6.0-rc3","v1.6.1","v1.6.1-rc1","v1.6.1-rc2","v1.6.1-rc3","v1.6.1-rc4","v1.6.2","v1.6.2-rc0","v1.6.2-rc1","v1.6.2-rc2","v1.6.3","v1.6.3-rc0","v1.6.3-rc1","v1.6.3-rc2","v1.6.3-rc3","v1.6.3-rc4","v1.6.4","v1.6.4-rc0","v1.6.4-rc1","v1.6.4-rc2","v1.6.4-rc3","v1.6.5","v1.6.5-rc0","v1.6.5-rc1","v1.6.5-rc2","v1.6.5-rc3","v1.6.6","v1.6.6-rc0","v1.6.6-rc1","v1.6.6-rc2","v1.6.6-rc3","v1.6.6-rc4","v1.7.0","v1.7.0-rc0","v1.7.0-rc1","v1.7.0-rc2","v1.7.1","v1.7.1-rc0","v1.7.1-rc1","v1.7.1-rc2","v1.7.10","v1.7.10-rc0","v1.7.10-rc1","v1.7.10-rc2","v1.7.10-rc3","v1.7.10-rc4","v1.7.11","v1.7.11-rc0","v1.7.11-rc1","v1.7.11-rc2","v1.7.11-rc3","v1.7.12","v1.7.12-rc0","v1.7.12-rc1","v1.7.12-rc2","v1.7.12-rc3","v1.7.2","v1.7.2-rc0","v1.7.2-rc1","v1.7.2-rc2","v1.7.2-rc3","v1.7.3","v1.7.3-rc0","v1.7.3-rc1","v1.7.3-rc2","v1.7.3.1","v1.7.4","v1.7.4-rc0","v1.7.4-rc1","v1.7.4-rc2","v1.7.4-rc3","v1.7.5","v1.7.5-rc0","v1.7.5-rc1","v1.7.5-rc2","v1.7.5-rc3","v1.7.6","v1.7.6-rc0","v1.7.6-rc1","v1.7.6-rc2","v1.7.6-rc3","v1.7.7","v1.7.7-rc0","v1.7.7-rc1","v1.7.7-rc2","v1.7.7-rc3","v1.7.8","v1.7.8-rc0","v1.7.8-rc1","v1.7.8-rc2","v1.7.8-rc3","v1.7.8-rc4","v1.7.9","v1.7.9-rc0","v1.7.9-rc1","v1.7.9-rc2","v1.8.0","v1.8.0-rc0","v1.8.0-rc1","v1.8.0-rc2","v1.8.0-rc3","v1.8.1","v1.8.1-rc0","v1.8.1-rc1","v1.8.1-rc2","v1.8.1-rc3","v1.8.2","v1.8.2-rc0","v1.8.2-rc1","v1.8.2-rc2","v1.8.2-rc3","v1.8.3","v1.8.3-rc0","v1.8.3-rc1","v1.8.3-rc2","v1.8.3-rc3","v1.8.4","v1.8.4-rc0","v1.8.4-rc1","v1.8.4-rc2","v1.8.4-rc3","v1.8.4-rc4","v1.8.5","v1.8.5-rc0","v1.8.5-rc1","v1.8.5-rc2","v1.8.5-rc3","v1.9-rc0","v1.9-rc1","v1.9-rc2","v1.9.0","v1.9.0-rc3","v2.0.0","v2.0.0-rc0","v2.0.0-rc1","v2.0.0-rc2","v2.0.0-rc3","v2.0.0-rc4","v2.1.0","v2.1.0-rc0","v2.1.0-rc1","v2.1.0-rc2","v2.10.0","v2.10.0-rc0","v2.10.0-rc1","v2.10.0-rc2","v2.11.0","v2.11.0-rc0","v2.11.0-rc1","v2.11.0-rc2","v2.11.0-rc3","v2.12.0","v2.12.0-rc0","v2.12.0-rc1","v2.12.0-rc2","v2.13.0","v2.13.0-rc0","v2.13.0-rc1","v2.13.0-rc2","v2.14.0","v2.14.0-rc0","v2.14.0-rc1","v2.15.0","v2.15.0-rc0","v2.15.0-rc1","v2.15.0-rc2","v2.16.0","v2.16.0-rc0","v2.16.0-rc1","v2.16.0-rc2","v2.17.0","v2.17.0-rc0","v2.17.0-rc1","v2.17.0-rc2","v2.18.0","v2.18.0-rc0","v2.18.0-rc1","v2.18.0-rc2","v2.19.0","v2.19.0-rc0","v2.19.0-rc1","v2.19.0-rc2","v2.2.0","v2.2.0-rc0","v2.2.0-rc1","v2.2.0-rc2","v2.2.0-rc3","v2.20.0","v2.20.0-rc0","v2.20.0-rc1","v2.20.0-rc2","v2.21.0","v2.21.0-rc0","v2.21.0-rc1","v2.21.0-rc2","v2.22.0","v2.22.0-rc0","v2.22.0-rc1","v2.22.0-rc2","v2.22.0-rc3","v2.23.0","v2.23.0-rc0","v2.23.0-rc1","v2.23.0-rc2","v2.24.0","v2.24.0-rc0","v2.24.0-rc1","v2.24.0-rc2","v2.25.0","v2.25.0-rc0","v2.25.0-rc1","v2.25.0-rc2","v2.26.0","v2.26.0-rc0","v2.26.0-rc1","v2.26.0-rc2","v2.27.0","v2.27.0-rc0","v2.27.0-rc1","v2.27.0-rc2","v2.28.0","v2.28.0-rc0","v2.28.0-rc1","v2.28.0-rc2","v2.29.0","v2.29.0-rc0","v2.29.0-rc1","v2.29.0-rc2","v2.3.0","v2.3.0-rc0","v2.3.0-rc1","v2.3.0-rc2","v2.30.0","v2.30.0-rc0","v2.30.0-rc1","v2.30.0-rc2","v2.31.0","v2.31.0-rc0","v2.31.0-rc1","v2.31.0-rc2","v2.32.0","v2.32.0-rc0","v2.32.0-rc1","v2.32.0-rc2","v2.32.0-rc3","v2.33.0","v2.33.0-rc0","v2.33.0-rc1","v2.33.0-rc2","v2.34.0","v2.34.0-rc0","v2.34.0-rc1","v2.34.0-rc2","v2.35.0","v2.35.0-rc0","v2.35.0-rc1","v2.35.0-rc2","v2.36.0","v2.36.0-rc0","v2.36.0-rc1","v2.36.0-rc2","v2.37.0","v2.37.0-rc0","v2.37.0-rc1","v2.37.0-rc2","v2.38.0","v2.38.0-rc0","v2.38.0-rc1","v2.38.0-rc2","v2.39.0","v2.39.0-rc0","v2.39.0-rc1","v2.39.0-rc2","v2.4.0","v2.4.0-rc0","v2.4.0-rc1","v2.4.0-rc2","v2.4.0-rc3","v2.40.0","v2.40.0-rc0","v2.40.0-rc1","v2.40.0-rc2","v2.40.1","v2.40.2","v2.40.3","v2.40.4","v2.41.0","v2.41.1","v2.41.2","v2.41.3","v2.42.0","v2.42.1","v2.42.2","v2.42.3","v2.42.4","v2.43.0","v2.43.1","v2.43.2","v2.43.3","v2.43.4","v2.43.5","v2.43.6","v2.44.0","v2.44.1","v2.44.2","v2.44.3","v2.45.0","v2.45.1","v2.45.2","v2.45.3","v2.46.0","v2.46.1","v2.46.2","v2.46.3","v2.47.0","v2.47.1","v2.48.0","v2.48.1","v2.5.0","v2.5.0-rc0","v2.5.0-rc1","v2.5.0-rc2","v2.5.0-rc3","v2.6.0","v2.6.0-rc0","v2.6.0-rc1","v2.6.0-rc2","v2.6.0-rc3","v2.7.0","v2.7.0-rc0","v2.7.0-rc1","v2.7.0-rc2","v2.7.0-rc3","v2.8.0","v2.8.0-rc0","v2.8.0-rc1","v2.8.0-rc2","v2.8.0-rc3","v2.8.0-rc4","v2.9.0","v2.9.0-rc0","v2.9.0-rc1","v2.9.0-rc2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52005.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}