Debian Security Advisory
DSA-5332-1 git -- security update
- Date Reported:
- 29 Jan 2023
- Affected Packages:
- git
- Vulnerable:
- Yes
- Security database references:
- In the Debian bugtracking system: Bug 1014848, Bug 1022046, Bug 1029114.
In Mitre's CVE dictionary: CVE-2022-23521, CVE-2022-24765, CVE-2022-29187, CVE-2022-39253, CVE-2022-39260, CVE-2022-41903. - More information:
-
Multiple issues were found in Git, a distributed revision control system. An attacker may trigger remote code execution, cause local users into executing arbitrary commands, leak information from the local filesystem, and bypass restricted shell.
This update includes two changes of behavior that may affect certain setup: - It stops when directory traversal changes ownership from the current user while looking for a top-level git directory, a user could make an exception by using the new safe.directory configuration. - The default of protocol.file.allow has been changed from "always" to "user".
For the stable distribution (bullseye), these problems have been fixed in version 1:2.30.2-1+deb11u1.
We recommend that you upgrade your git packages.
For the detailed security status of git please refer to its security tracker page at: https://security-tracker.debian.org/tracker/git