Debian Security Advisory
DSA-4581-1 git -- security update
- Date Reported:
- 10 Dec 2019
- Affected Packages:
- Security database references:
- In Mitre's CVE dictionary: CVE-2019-1348, CVE-2019-1349, CVE-2019-1352, CVE-2019-1353, CVE-2019-1387, CVE-2019-19604.
- More information:
Several vulnerabilities have been discovered in git, a fast, scalable, distributed revision control system.
It was reported that the --export-marks option of git fast-import is exposed also via the in-stream command feature export-marks=..., allowing to overwrite arbitrary paths.
It was discovered that submodule names are not validated strictly enough, allowing very targeted attacks via remote code execution when performing recursive clones.
Joern Schneeweisz reported a vulnerability, where a recursive clone followed by a submodule update could execute code contained within the repository without the user explicitly having asked for that. It is now disallowed for `.gitmodules` to have entries that set `submodule.<name>.update=!command`.
For the oldstable distribution (stretch), these problems have been fixed in version 1:2.11.0-3+deb9u5.
For the stable distribution (buster), these problems have been fixed in version 1:2.20.1-2+deb10u1.
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