CVE-2024-32478 Git Credential Manager (GCM)'s Debian package does not set root ownership on installed files
A local attacker can replace Git Credential Manager binaries due to incorrect file ownership, gaining other users' privileges on multi-user systems.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-32478?
CVE-2024-32478 is a medium-severity vulnerability in git-ecosystem git-credential-manager, published on 19 Apr 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Git Credential Manager (GCM) is a secure Git credential helper. Prior to 2.5.0, the Debian package does not set root ownership on installed files. This allows user 1001 on a multi-user system can replace binary and gain other users' privileges. This vulnerability is fixed in 2.5.0.
Weakness: CWE-732
Which versions are affected by CVE-2024-32478?
How do I fix CVE-2024-32478?
No fix has been published for CVE-2024-32478 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-32478 being exploited?
There is no known exploitation of CVE-2024-32478 in the wild and no public exploit code.
Sources
Also known as GHSA-3c3g-h9rx-f7vq.