CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Git-scm

CVE-2021-40330
Git-scm Git vulnerability

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

Git, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Git-scm Git runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Git-scm products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.