How to: CVE-2025-48384 (2025-07-08)
```
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.
```
- [acheong08/CVE-2025-48384](https://github.com/acheong08/CVE-2025-48384)
- [fishyyh/CVE-2025-48384](https://github.com/fishyyh/CVE-2025-48384)
- [kallydev/cve-2025-48384-hook](https://github.com/kallydev/cve-2025-48384-hook)
- [fishyyh/CVE-2025-48384-POC](https://github.com/fishyyh/CVE-2025-48384-POC)
- [liamg/CVE-2025-48384-submodule](https://github.com/liamg/CVE-2025-48384-submodule)
- [liamg/CVE-2025-48384](https://github.com/liamg/CVE-2025-48384)
- [ppd520/CVE-2025-48384](https://github.com/ppd520/CVE-2025-48384)
- [NigelX/CVE-2025-48384](https://github.com/NigelX/CVE-2025-48384)
- [greatyy/CVE-2025-48384-p](https://github.com/greatyy/CVE-2025-48384-p)
- [testdjshan/CVE-2025-48384](https://github.com/testdjshan/CVE-2025-48384)
- [altm4n/cve-2025-48384](https://github.com/altm4n/cve-2025-48384)
- [altm4n/cve-2025-48384-hub](https://github.com/altm4n/cve-2025-48384-hub)
- [p1026/CVE-2025-48384](https://github.com/p1026/CVE-2025-48384)
- [vinieger/vinieger-CVE-2025-48384-Dockerfile](https://github.com/vinieger/vinieger-CVE-2025-48384-Dockerfile)
- [ECHO6789/CVE-2025-48384-submodule](https://github.com/ECHO6789/CVE-2025-48384-submodule)
- [nguyentranbaotran/cve-2025-48384-poc](https://github.com/nguyentranbaotran/cve-2025-48384-poc)
- [admin-ping/CVE-2025-48384-RCE](https://github.com/admin-ping/CVE-2025-48384-RCE)
- [simplyfurious/CVE-2025-48384-submodule_test](https://github.com/simplyfurious/CVE-2025-48384-submodule_test)
- [Anezatraa/CVE-2025-48384-submodule](https://github.com/Anezatraa/CVE-2025-48384-submodule)
- [IK-20211125/CVE-2025-48384](https://github.com/IK-20211125/CVE-2025-48384)
- [elprogramadorgt/CVE-2025-48384](https://github.com/elprogramadorgt/CVE-2025-48384)
- [f1shh/CVE-2025-48384](https://github.com/f1shh/CVE-2025-48384)
- [fluoworite/CVE-2025-48384](https://github.com/fluoworite/CVE-2025-48384)
- [fluoworite/CVE-2025-48384-sub](https://github.com/fluoworite/CVE-2025-48384-sub)
- [beishanxueyuan/CVE-2025-48384](https://github.com/beishanxueyuan/CVE-2025-48384)
- [beishanxueyuan/CVE-2025-48384-test](https://github.com/beishanxueyuan/CVE-2025-48384-test)
- [replicatorbot/CVE-2025-48384](https://github.com/replicatorbot/CVE-2025-48384)
- [replicatorbot/CVE-2025-48384-POC](https://github.com/replicatorbot/CVE-2025-48384-POC)
- [eliox01/CVE-2025-48384](https://github.com/eliox01/CVE-2025-48384)
- [jacobholtz/CVE-2025-48384-poc](https://github.com/jacobholtz/CVE-2025-48384-poc)
- [jacobholtz/CVE-2025-48384-submodule](https://github.com/jacobholtz/CVE-2025-48384-submodule)
- [butyraldehyde/CVE-2025-48384-PoC-Part2](https://github.com/butyraldehyde/CVE-2025-48384-PoC-Part2)
- [butyraldehyde/CVE-2025-48384-PoC](https://github.com/butyraldehyde/CVE-2025-48384-PoC)
- [arun1033/CVE-2025-48384](https://github.com/arun1033/CVE-2025-48384)
- [s41r4j/CVE-2025-48384](https://github.com/s41r4j/CVE-2025-48384)
- [s41r4j/CVE-2025-48384-submodule](https://github.com/s41r4j/CVE-2025-48384-submodule)
- [zr0n/CVE-2025-48384-sub](https://github.com/zr0n/CVE-2025-48384-sub)
- [zr0n/CVE-2025-48384-main](https://github.com/zr0n/CVE-2025-48384-main)
- [vignesh21-git/CVE-2025-48384](https://github.com/vignesh21-git/CVE-2025-48384)
- [vignesh21-git/CVE-2025-48384-submodule](https://github.com/vignesh21-git/CVE-2025-48384-submodule)