cvedb.io
CVE-2021-40330
HIGH · CVSS 7.5
EPSS exploitation probability: 0%
Published 2021-08-31T04:15:10.667 · Last modified 2026-06-17T04:06:44.270

Summary

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-scm — git

Does this affect you?

Add your gear to cvedb and we'll alert you only when git-scm ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.