Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811261 (CVE-2021-40330) - <dev-vcs/git-2.30.1: unexpected cross-protocol requesting (CVE-2021-40330)
Summary: <dev-vcs/git-2.30.1: unexpected cross-protocol requesting (CVE-2021-40330)
Status: RESOLVED FIXED
Alias: CVE-2021-40330
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/git/git/commit/a02...
Whiteboard: B4 [noglsa]
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-08-31 14:29 UTC by John Helmert III
Modified: 2021-11-12 01:46 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-08-31 14:29:25 UTC
CVE-2021-40330:

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.

Please cleanup <2.30.1.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-11-12 01:46:28 UTC
Cleanup done. Minimal impact, no GLSA, closing.