Debian 10032 Published by

A git security update has been released for Debian GNU/Linux 10 to address several security vulnerabilities.

DLA 3145-1: git security update

Debian LTS Advisory DLA-3145-1 Markus Koschany
October 11, 2022

Package : git
Version : 1:2.20.1-2+deb10u4
CVE ID : CVE-2021-21300 CVE-2021-40330
Debian Bug : 985120

Several security vulnerabilities have been discovered in Git, a fast, scalable,
distributed revision control system, which may affect multi-user systems.


A specially crafted repository that contains symbolic links as well as
files using a clean/smudge filter such as Git LFS, may cause just-checked
out script to be executed while cloning onto a case-insensitive file system
such as NTFS, HFS+ or APFS (i.e. the default file systems on Windows and


git_connect_git in connect.c allows a repository path to contain a newline
character, which may result in unexpected cross-protocol requests, as
demonstrated by the git://localhost:1234/%0d%0a%0d%0aGET%20/%20HTTP/1.1

For Debian 10 buster, these problems have been fixed in version

We recommend that you upgrade your git packages.

For the detailed security status of git please refer to
its security tracker page at:

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: