DEBIAN-CVE-2024-32002

Source
https://security-tracker.debian.org/tracker/DEBIAN-CVE-2024-32002
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-32002.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2024-32002
Upstream
Published
2024-05-14T19:15:10Z
Modified
2025-09-19T07:35:04.393171Z
Summary
[none]
Details

Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a .git/ directory. This allows writing a hook that will be executed while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. If symbolic link support is disabled in Git (e.g. via git config --global core.symlinks false), the described attack won't work. As always, it is best to avoid cloning repositories from untrusted sources.

References

Affected packages

Debian:11 / git

Package

Name
git
Purl
pkg:deb/debian/git?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.30.2-1+deb11u3

Affected versions

1:2.*

1:2.30.2-1
1:2.30.2-1+deb11u1
1:2.30.2-1+deb11u2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / git

Package

Name
git
Purl
pkg:deb/debian/git?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.39.5-0+deb12u1

Affected versions

1:2.*

1:2.39.2-1.1
1:2.39.2+next.20230215-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / git

Package

Name
git
Purl
pkg:deb/debian/git?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.45.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / git

Package

Name
git
Purl
pkg:deb/debian/git?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.45.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}