{"cve_id":"CVE-2025-48384","published":"2025-07-08T19:15:42.800000+00:00","last_modified":"2026-09-24T13:10:00.320000+00:00","vuln_status":"Analyzed","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. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.","cvss_version":"3.1","cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","base_score":8.0,"base_severity":"HIGH","attack_vector":"NETWORK","privileges_req":"LOW","user_interaction":"REQUIRED","scope":"CHANGED","impact_c":"HIGH","impact_i":"HIGH","impact_a":"HIGH","cwe_ids":["CWE-59","CWE-436"],"in_kev":true,"kev_date_added":"2025-08-25","kev_ransomware":false,"epss_score":0.04379,"epss_percentile":0.91285,"cap_rule_version":"0.1.1","stage":"PRIV_ESC","req_access":"USER","req_vector":"NETWORK","req_user_interaction":true,"grant_access":"PRIV","caps":["CODE_EXEC","PRIV_GAIN"],"terminal":false,"cap_confidence":"high","ingested_at":"2026-09-25T03:16:59.115909+00:00","first_seen":"2025-07-08T19:15:42.800000+00:00","kev_first_seen":"2025-08-25T00:00:00+00:00","novelty_score":0.0,"novelty_reasons":[],"novelty_at":null,"vendors":["apple","debian","git-scm"],"products":["debian_linux","git","xcode"],"affected":[{"vendor":"apple","product":"xcode","ranges":["< 26.0"]},{"vendor":"debian","product":"debian_linux","ranges":["11.0"]},{"vendor":"git-scm","product":"git","ranges":["≥ 2.45.0 and < 2.45.4","≥ 2.46.0 and < 2.46.4","≥ 2.47.0 and < 2.47.3","< 2.43.7","≥ 2.49.0 and < 2.49.1","≥ 2.50.0 and < 2.50.1","≥ 2.48.0 and < 2.48.2","≥ 2.44.0 and < 2.44.4"]}]}