CRLF injection in Git - CVE-2025-48384

 

CRLF injection in Git - CVE-2025-48384

Published: July 9, 2025 / Updated: September 17, 2025


Vulnerability identifier: #VU112637
CSH Severity: Medium
CVSS v4: 7.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-48384
CWE-ID: CWE-93
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote user to compromise the affected system.

The vulnerability exists due to insufficient validation of attacker-supplied data when reading config values. A remote user can pass specially crafted config lines to the application containing CR-LF characters and execute arbitrary code on the system after checkout.


Affected software

Git
Red Hat OpenShift Container Platform
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
Gentoo Linux
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Manager Server 4.3
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
Anolis OS
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Python 3 Module
Development Tools Module
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Fedora
Guardium Data Security Center (GDSC)
IBM Qradar SIEM
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
obs-scm-bridge
git (Red Hat package)
git (Ubuntu package)
git-debugsource
git-daemon
git-web
git-svn
git-daemon-debuginfo
git-email
git-core
git
git-core-debuginfo
gitk
git-gui
git-cvs
git-debuginfo
git-help
perl-Git
perl-Git-SVN
git-subtree
git-credential-libsecret
git-all
git-core-doc
gitweb
git-instaweb
git-credential-libsecret-debuginfo
git-p4
git-doc
git-arch
dev-vcs/git
git-lfs
python311-PyYAML-debuginfo
python311-PyYAML
python-PyYAML-debugsource
Apple Xcode
Visual Studio
Ansible Automation Platform
Red Hat Advanced Cluster Management for Kubernetes

How to mitigate CVE-2025-48384

Install updates from vendor's website.

Git - addressed in versions 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
Guardium Data Security Center (GDSC) - update to 3.8.5
IBM Qradar SIEM - update to 7.5.0 Update Pack 13 IF01
Apple Xcode - update to 26.0
Visual Studio - addressed in versions 15.9.75 15.9.75, 16.11.49 16.11.49, 17.8.23 17.8.23, 17.10.17 17.10.17, 17.12.10 17.12.10
obs-scm-bridge - update to 0.7.4-150600.14.4.1
git (Red Hat package) - addressed in versions 1.8.3.1-25.el7_9.1, 2.18.4-5.el8_2.1, 2.27.0-5.el8_4.1, 2.31.1-6.el9_0.1, 2.31.8-3.el8_6.1, 2.39.5-1.el8_8.2, 2.39.5-1.el9_2.2, 2.43.5-1.el9_4.2, 2.43.7-1.el8_10, 2.47.3-1.el9_6, 2.47.3-1.el10_0
Ansible Automation Platform - update to 2.5
git (Ubuntu package) - addressed in versions 1:2.7.4-0ubuntu1.10+esm9, 1:2.7.4-0ubuntu1.10+esm10, 1:2.7.4-0ubuntu1.10+esm11, 1:2.17.1-1ubuntu0.18+esm2, 1:2.17.1-1ubuntu0.18+esm3, 1:2.17.1-1ubuntu0.18+esm4, 1:2.25.1-1ubuntu3.14+esm1, 1:2.25.1-1ubuntu3.14+esm2, 1:2.25.1-1ubuntu3.14+esm3, 1:2.34.1-1ubuntu1.13, 1:2.34.1-1ubuntu1.14, 1:2.34.1-1ubuntu1.15, 1:2.43.0-1ubuntu7.3, 1:2.45.2-1ubuntu1.2, 1:2.48.1-0ubuntu1.1
Red Hat Advanced Cluster Management for Kubernetes - update to 2.13.4
git-debugsource - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-daemon - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-web - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-svn - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-daemon-debuginfo - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-email - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-core - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-core-debuginfo - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
gitk - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-gui - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-cvs - addressed in versions 2.26.2-27.81.1, 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
git-debuginfo - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
git-daemon - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
git-debugsource - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
git-email - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
git-gui - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
git-help - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
git-svn - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
git-web - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
gitk - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
perl-Git - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
perl-Git-SVN - addressed in versions 2.27.0-24, 2.33.0-18, 2.33.0-19, 2.43.0-9
git-core - addressed in versions 2.33.0-18, 2.33.0-19, 2.43.0-9
git-core - addressed in versions 2.43.0-9, 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-daemon - addressed in versions 2.43.0-9, 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-email - addressed in versions 2.43.0-9, 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-gui - addressed in versions 2.43.0-9, 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
gitk - addressed in versions 2.43.0-9, 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
perl-Git - addressed in versions 2.43.0-9, 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
perl-Git-SVN - addressed in versions 2.43.0-9, 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git - addressed in versions 2.43.0-9, 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-subtree - addressed in versions 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-credential-libsecret - addressed in versions 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-all - addressed in versions 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-core-doc - addressed in versions 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
gitweb - addressed in versions 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-svn - addressed in versions 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-instaweb - addressed in versions 2.43.5-3.0.1, 2.43.7-1.0.1, 2.47.3-1
git-credential-libsecret-debuginfo - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-p4 - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-credential-libsecret - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-doc - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
perl-Git - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-arch - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-debuginfo - addressed in versions 2.43.7-150300.10.51.1, 2.51.0-150600.3.12.1
git-p4 - update to 2.47.3-1
dev-vcs/git - update to 2.49.1
git - addressed in versions 2.50.1-1.fc41, 2.50.1-1.fc42
git-lfs - update to 3.7.0-150600.13.3.1
Red Hat OpenShift Container Platform - addressed in versions 4.12.79, 4.12.80, 4.13.60, 4.14.54, 4.14.56, 4.15.56, 4.15.57, 4.16.46, 4.16.47, 4.17.37, 4.17.38, 4.18.22, 4.19.6, 4.19.7, 4.19.9
python311-PyYAML-debuginfo - update to 6.0.2-150600.10.3.1
python311-PyYAML - update to 6.0.2-150600.10.3.1
python-PyYAML-debugsource - update to 6.0.2-150600.10.3.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins