{
  "cveId": "CVE-2021-40330",
  "url": "https://patchblox.com/security/cve/CVE-2021-40330",
  "summary": "CVE-2021-40330 is fixed in 13 products on 1 platform, first by git 1:2.17.1-1ubuntu0.9, released August 30, 2021. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "git: git_connect_git in connect.c in Git before 2.30.1 allows a repository path to contain a newline character, which may...",
  "description": "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.",
  "published": "2021-08-30T21:15:00Z",
  "severity": "Medium",
  "epss": 0.02874,
  "epssPercentile": 0.86914,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "git",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-all",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-all 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-all-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-all",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-all 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-all-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-cvs",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-cvs 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-cvs-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-cvs",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-cvs 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-cvs-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-daemon-run",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-daemon-run 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-daemon-run-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-daemon-run",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-daemon-run 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-daemon-run-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-daemon-sysvinit",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-daemon-sysvinit 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-daemon-sysvinit-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-daemon-sysvinit",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-daemon-sysvinit 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-daemon-sysvinit-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-el",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-el 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-el-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-el",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-el 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-el-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-email",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-email 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-email-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-email",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-email 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-email-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-gui",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-gui 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-gui-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-gui",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-gui 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-gui-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-man",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-man 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-man-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-man",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-man 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-man-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-mediawiki",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-mediawiki 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-mediawiki-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-mediawiki",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-mediawiki 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-mediawiki-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-svn",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "git-svn 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-git-svn-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "git-svn",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "git-svn 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-git-svn-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "gitk",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "gitk 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-gitk-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "gitk",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "gitk 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-gitk-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "gitweb",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1:2.17.1-1ubuntu0.9",
      "fix": "gitweb 1:2.17.1-1ubuntu0.9",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-gitweb-1-2.17.1-1ubuntu0.9",
      "released": "2021-08-30T21:15:00Z"
    },
    {
      "platform": "linux",
      "product": "gitweb",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1:2.25.1-1ubuntu3.2",
      "fix": "gitweb 1:2.25.1-1ubuntu3.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-gitweb-1-2.25.1-1ubuntu3.2",
      "released": "2021-08-30T21:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T07:25:28Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}