CVE-2021-40330: Debian Linux

High severity, CVSS 7.5. EPSS: 2.9% chance of exploitation in the next 30 days.

git_connect_git in connect.c in Git before 2.30.1 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 substring.

Affected products

  • Debian Debian Linux: version 10.0 only
  • Git-Scm Git: before 2.30.1 (fixed in 2.30.1)

Published 2021-08-31. Last modified 2026-06-17.