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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-08-31T00:00:00

Updated: 2024-08-04T02:27:31.913Z

Reserved: 2021-08-31T00:00:00

Link: CVE-2021-40330

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-08-31T04:15:10.667

Modified: 2022-11-07T18:37:36.590

Link: CVE-2021-40330

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-01-07T00:00:00Z

Links: CVE-2021-40330 - Bugzilla