CVEfocus › CVE database › CVE-2022-24975

CVE-2022-24975

CVSS 7.5 HighEPSS 2.0% (higher than 81% of CVEs)Published 2022-02-11Updated 2024-08-03Assigner: mitre

The --mirror documentation for Git through 2.35.1 does not mention the availability of deleted content, aka the "GitBleed" issue. This could present a security risk if information-disclosure auditing processes rely on a clone operation without the --mirror option. Note: This has been disputed by multiple 3rd parties who believe this is an intended feature of the git binary and does not pose a security risk.

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fix pending
5Will not fix
48Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04gitWill not fix
--mirror appears to work as intended and clearly documents that all refs are copied (which includes deleted branches and git reset data) vendor diputes CVE
UBUNTU-CVE-2022-24975
Ubuntu 20.04gitFix pendingUBUNTU-CVE-2022-24975
Ubuntu 18.04gitFix pendingUBUNTU-CVE-2022-24975
Ubuntu 16.04gitWill not fix
--mirror appears to work as intended and clearly documents that all refs are copied (which includes deleted branches and git reset data) vendor diputes CVE
UBUNTU-CVE-2022-24975
Debian 14gitWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2022-24975
Debian 13gitWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2022-24975
Debian 12gitWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2022-24975
Red Hat Enterprise Linux 9gitNot affected
Red Hat Enterprise Linux 9git-allNot affected
Red Hat Enterprise Linux 9git-coreNot affected
Red Hat Enterprise Linux 9git-core-docNot affected
Red Hat Enterprise Linux 9git-credential-libsecretNot affected
Red Hat Enterprise Linux 9git-daemonNot affected
Red Hat Enterprise Linux 9git-emailNot affected
Red Hat Enterprise Linux 9git-guiNot affected
Red Hat Enterprise Linux 9git-instawebNot affected
Red Hat Enterprise Linux 9git-subtreeNot affected
Red Hat Enterprise Linux 9git-svnNot affected
Red Hat Enterprise Linux 9gitkNot affected
Red Hat Enterprise Linux 9gitwebNot affected
Red Hat Enterprise Linux 9perl-GitNot affected
Red Hat Enterprise Linux 9perl-Git-SVNNot affected
Red Hat Enterprise Linux 8gitNot affected
Red Hat Enterprise Linux 8git-allNot affected
Red Hat Enterprise Linux 8git-coreNot affected
Red Hat Enterprise Linux 8git-core-docNot affected
Red Hat Enterprise Linux 8git-credential-libsecretNot affected
Red Hat Enterprise Linux 8git-daemonNot affected
Red Hat Enterprise Linux 8git-emailNot affected
Red Hat Enterprise Linux 8git-guiNot affected
Red Hat Enterprise Linux 8git-instawebNot affected
Red Hat Enterprise Linux 8git-subtreeNot affected
Red Hat Enterprise Linux 8git-svnNot affected
Red Hat Enterprise Linux 8gitkNot affected
Red Hat Enterprise Linux 8gitwebNot affected
Red Hat Enterprise Linux 8perl-GitNot affected
Red Hat Enterprise Linux 8perl-Git-SVNNot affected
Red Hat Enterprise Linux 7emacs-gitNot affected
Red Hat Enterprise Linux 7emacs-git-elNot affected
Red Hat Enterprise Linux 7gitNot affected
Red Hat Enterprise Linux 7git-allNot affected
Red Hat Enterprise Linux 7git-bzrNot affected
Red Hat Enterprise Linux 7git-cvsNot affected
Red Hat Enterprise Linux 7git-daemonNot affected
Red Hat Enterprise Linux 7git-emailNot affected
Red Hat Enterprise Linux 7git-gnome-keyringNot affected
Red Hat Enterprise Linux 7git-guiNot affected
Red Hat Enterprise Linux 7git-hgNot affected
Red Hat Enterprise Linux 7git-instawebNot affected
Red Hat Enterprise Linux 7git-p4Not affected
Red Hat Enterprise Linux 7git-svnNot affected
Red Hat Enterprise Linux 7gitkNot affected
Red Hat Enterprise Linux 7gitwebNot affected
Red Hat Enterprise Linux 7perl-GitNot affected
Red Hat Enterprise Linux 7perl-Git-SVNNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.