Distro advisory · Fedora 31
git-2.25.4-1.fc31
Fedora 31
What it fixes
Security fix for CVE-2020-5260
From the upstream release notes:
With a crafted URL that contains a newline or empty host, or lacks a scheme, the credential helper machinery can be fooled into providing credential information that is not appropriate for the protocol in use and host being contacted.
Unlike the vulnerability CVE-2020-5260 fixed in v2.17.4, the credentials are not for a host of the attacker's choosing; instead, they are for some unspecified host (based on how the configured credential helper handles an absent "host" parameter).
The attack has been made impossible by refusing to work with under-specified credential patterns.
Manual fix · Fedora 31
sudo dnf upgrade git git-all git-core git-core-doc git-credential-libsecret git-cvs …rpm -q git git-all git-core git-core-doc git-credential-libsecret git-cvs …Sources