Patchwire CVEs, their patch status, and feeds to follow them

CVE-2022-39253

Fixed in a distro release EPSS 1%CVSS 5.5

Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the `--local` optimization when on a shared machine, either by passing the `--no-local` option to `git clone` or cloning from a URL that uses the `file://` scheme. Alternatively, avoid cloning repositories from untrusted sources with `--recurse-submodules` or run `git config --global protocol.file.allow user`.

Published 2022-10-19 · CVE record · OSV

Products: git

Distro releases

ReleasePackageFixed in
AlmaLinux 8git2.39.1-1.el8
AlmaLinux 8git-all2.39.1-1.el8
AlmaLinux 8git-core2.39.1-1.el8
AlmaLinux 8git-core-doc2.39.1-1.el8
AlmaLinux 8git-credential-libsecret2.39.1-1.el8
AlmaLinux 8git-daemon2.39.1-1.el8
AlmaLinux 8git-email2.39.1-1.el8
AlmaLinux 8git-gui2.39.1-1.el8
AlmaLinux 8git-instaweb2.39.1-1.el8
AlmaLinux 8git-subtree2.39.1-1.el8
AlmaLinux 8git-svn2.39.1-1.el8
AlmaLinux 8gitk2.39.1-1.el8
AlmaLinux 8gitweb2.39.1-1.el8
AlmaLinux 8perl-Git2.39.1-1.el8
AlmaLinux 8perl-Git-SVN2.39.1-1.el8
AlmaLinux 9git2.39.1-1.el9
AlmaLinux 9git-all2.39.1-1.el9
AlmaLinux 9git-core2.39.1-1.el9
AlmaLinux 9git-core-doc2.39.1-1.el9
AlmaLinux 9git-credential-libsecret2.39.1-1.el9
AlmaLinux 9git-daemon2.39.1-1.el9
AlmaLinux 9git-email2.39.1-1.el9
AlmaLinux 9git-gui2.39.1-1.el9
AlmaLinux 9git-instaweb2.39.1-1.el9
AlmaLinux 9git-subtree2.39.1-1.el9
AlmaLinux 9git-svn2.39.1-1.el9
AlmaLinux 9gitk2.39.1-1.el9
AlmaLinux 9gitweb2.39.1-1.el9
AlmaLinux 9perl-Git2.39.1-1.el9
AlmaLinux 9perl-Git-SVN2.39.1-1.el9
Alpine 3.13git2.30.6-r0
Alpine 3.14git2.32.4-r0
Alpine 3.15git2.34.5-r0
Alpine 3.16git2.36.3-r0
Alpine 3.17git2.38.1-r0
Alpine 3.18git2.38.1-r0
Alpine 3.19git2.38.1-r0
Alpine 3.20git2.38.1-r0
Alpine 3.21git2.38.1-r0
Alpine 3.22git2.38.1-r0
Alpine 3.23git2.38.1-r0
Alpine 3.24git2.38.1-r0
Amazon Linux 2git2.38.1-1.amzn2.0.1
Amazon Linux 2git-all2.38.1-1.amzn2.0.1
Amazon Linux 2git-core2.38.1-1.amzn2.0.1
Amazon Linux 2git-core-doc2.38.1-1.amzn2.0.1
Amazon Linux 2git-credential-libsecret2.38.1-1.amzn2.0.1
Amazon Linux 2git-cvs2.38.1-1.amzn2.0.1
Amazon Linux 2git-daemon2.38.1-1.amzn2.0.1
Amazon Linux 2git-email2.38.1-1.amzn2.0.1
Amazon Linux 2git-gui2.38.1-1.amzn2.0.1
Amazon Linux 2git-instaweb2.38.1-1.amzn2.0.1
Amazon Linux 2git-p42.38.1-1.amzn2.0.1
Amazon Linux 2git-subtree2.38.1-1.amzn2.0.1
Amazon Linux 2git-svn2.38.1-1.amzn2.0.1
Amazon Linux 2gitk2.38.1-1.amzn2.0.1
Amazon Linux 2gitweb2.38.1-1.amzn2.0.1
Amazon Linux 2perl-Git2.38.1-1.amzn2.0.1
Amazon Linux 2perl-Git-SVN2.38.1-1.amzn2.0.1
Amazon Linux 2023git2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-all2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-core2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-core-doc2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-credential-libsecret2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-cvs2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-daemon2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-email2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-gui2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-instaweb2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-p42.39.1-1.amzn2023.0.2
Amazon Linux 2023git-subtree2.39.1-1.amzn2023.0.2
Amazon Linux 2023git-svn2.39.1-1.amzn2023.0.2
Amazon Linux 2023gitk2.39.1-1.amzn2023.0.2
Amazon Linux 2023gitweb2.39.1-1.amzn2023.0.2
Amazon Linux 2023perl-Git2.39.1-1.amzn2023.0.2
Amazon Linux 2023perl-Git-SVN2.39.1-1.amzn2023.0.2
Chainguardgit2.38.1-r0
Debian 10git1:2.20.1-2+deb10u5
Debian 11git1:2.30.2-1+deb11u1
Debian 12git1:2.38.1-1
Debian 13git1:2.38.1-1
Debian 14git1:2.38.1-1
Red Hat Enterprise Linux 8git0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-all0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-core0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-core-debuginfo0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-core-doc0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-credential-libsecret0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-credential-libsecret-debuginfo0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-daemon0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-daemon-debuginfo0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-debuginfo0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-debugsource0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-email0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-gui0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-instaweb0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-subtree0:2.39.1-1.el8
Red Hat Enterprise Linux 8git-svn0:2.39.1-1.el8
Red Hat Enterprise Linux 8gitk0:2.39.1-1.el8
Red Hat Enterprise Linux 8gitweb0:2.39.1-1.el8
Red Hat Enterprise Linux 8perl-Git0:2.39.1-1.el8
Red Hat Enterprise Linux 8perl-Git-SVN0:2.39.1-1.el8
Red Hat Enterprise Linux 9git0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-all0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-core0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-core-debuginfo0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-core-doc0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-credential-libsecret0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-credential-libsecret-debuginfo0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-daemon0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-daemon-debuginfo0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-debuginfo0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-debugsource0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-email0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-gui0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-instaweb0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-subtree0:2.39.1-1.el9
Red Hat Enterprise Linux 9git-svn0:2.39.1-1.el9
Red Hat Enterprise Linux 9gitk0:2.39.1-1.el9
Red Hat Enterprise Linux 9gitweb0:2.39.1-1.el9
Red Hat Enterprise Linux 9perl-Git0:2.39.1-1.el9
Red Hat Enterprise Linux 9perl-Git-SVN0:2.39.1-1.el9
Red Hat rhel eus 8.6git0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-all0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-core0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-core-debuginfo0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-core-doc0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-credential-libsecret0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-credential-libsecret-debuginfo0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-daemon0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-daemon-debuginfo0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-debuginfo0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-debugsource0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-email0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-gui0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-instaweb0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-subtree0:2.31.8-1.el8_6
Red Hat rhel eus 8.6git-svn0:2.31.8-1.el8_6
Red Hat rhel eus 8.6gitk0:2.31.8-1.el8_6
Red Hat rhel eus 8.6gitweb0:2.31.8-1.el8_6
Red Hat rhel eus 8.6perl-Git0:2.31.8-1.el8_6
Red Hat rhel eus 8.6perl-Git-SVN0:2.31.8-1.el8_6
SUSE Enterprise Storage 7git2.26.2-150000.47.1
SUSE HPE Helion OpenStack 8git2.26.2-27.60.1
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSSgit2.26.2-150000.47.1
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSSgit2.26.2-150000.47.1
SUSE Linux Enterprise Module for Basesystem 15 SP3git2.35.3-150300.10.18.1
SUSE Linux Enterprise Module for Basesystem 15 SP4git2.35.3-150300.10.18.1
SUSE Linux Enterprise Module for Development Tools 15 SP3git2.35.3-150300.10.18.1
SUSE Linux Enterprise Module for Development Tools 15 SP4git2.35.3-150300.10.18.1
SUSE Linux Enterprise Server 12 SP5git2.26.2-27.60.1
SUSE Linux Enterprise Server 15 SP1-LTSSgit2.26.2-150000.47.1
SUSE Linux Enterprise Server 15 SP2-LTSSgit2.26.2-150000.47.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5git2.26.2-27.60.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1git2.26.2-150000.47.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2git2.26.2-150000.47.1
SUSE Linux Enterprise Software Development Kit 12 SP5git2.26.2-27.60.1
SUSE OpenStack Cloud 8git2.26.2-27.60.1
Ubuntu 18.04 LTSgit1:2.17.1-1ubuntu0.13
Ubuntu 20.04 LTSgit1:2.25.1-1ubuntu3.6
Ubuntu 22.04 LTSgit1:2.34.1-1ubuntu1.5
Ubuntu Pro 16.04 LTSgit1:2.7.4-0ubuntu1.10+esm6
Wolfigit2.38.1-r0
openSUSE Leap 15.3git2.35.3-150300.10.18.1
openSUSE Leap 15.4git2.35.3-150300.10.18.1
openSUSE Leap 15.4git2.26.2-150000.47.1
openSUSE Tumbleweeddocker-compose2.12.2-1.1
openSUSE Tumbleweedgit2.38.1-1.1
openSUSE Tumbleweedperl-Git-Repository1.326.0-1.1
openSUSE Tumbleweedreuse1.1.2-1.1