Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2023-23946: a path outside the working tree can be overwritten with crafted input (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2023-23946: a path outside the working tree can be overwritten with crafted input (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
02/14/2023
Created
05/23/2023
Added
05/23/2023
Modified
01/26/2024

Description

Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten as the user who is running `git apply`. A fix has been prepared and will appear in v2.39.2, v2.38.4, v2.37.6, v2.36.5, v2.35.7, v2.34.7, v2.33.7, v2.32.6, v2.31.7, and v2.30.8. As a workaround, use `git apply --stat` to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.

Solution(s)

  • redhat-upgrade-git
  • redhat-upgrade-git-all
  • redhat-upgrade-git-core
  • redhat-upgrade-git-core-debuginfo
  • redhat-upgrade-git-core-doc
  • redhat-upgrade-git-credential-libsecret
  • redhat-upgrade-git-credential-libsecret-debuginfo
  • redhat-upgrade-git-daemon
  • redhat-upgrade-git-daemon-debuginfo
  • redhat-upgrade-git-debuginfo
  • redhat-upgrade-git-debugsource
  • redhat-upgrade-git-email
  • redhat-upgrade-git-gui
  • redhat-upgrade-git-instaweb
  • redhat-upgrade-git-subtree
  • redhat-upgrade-git-svn
  • redhat-upgrade-gitk
  • redhat-upgrade-gitweb
  • redhat-upgrade-perl-git
  • redhat-upgrade-perl-git-svn

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;