Ojuju Advisory
DEBIAN-CVE-2021-40330 Also known as: CVE-2021-40330
Summary The record has no summary.
Details 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.
Severity High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Dates Published 2021-08-31 04:15 UTC Modified 2026-10-23 18:03 UTC
Affected packages and fixes git
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 1:2.30.1-1 (ecosystem)
Fixed versions 1:2.30.1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
git
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 1:2.30.1-1 (ecosystem)
Fixed versions 1:2.30.1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
git
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 1:2.30.1-1 (ecosystem)
Fixed versions 1:2.30.1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →