Skip to content
OpenAdvisories
High SUSE-SU-2023:0418-1 4 CVEs

Security update for git

Published Feb 15, 2023 · Updated Feb 4, 2026

Summary

This update for git fixes the following issues:

- CVE-2023-22490: Fixed incorrectly usable local clone optimization even when using a non-local transport (bsc#1208027).
- CVE-2023-23946: Fixed issue where a path outside the working tree can be overwritten as the user who is running 'git apply' (bsc#1208028).
- CVE-2022-39260: Fixed overflow in `split_cmdline()`, leading to arbitrary heap writes and remote code execution (bsc#1204456).
- CVE-2022-39253: Fixed dereference issue with symbolic links via the `--local` clone mechanism (bsc#1204455).

Fixed packages 8

ReleasePackageFixed in
SUSE · Enterprise Storage 7 git 2.26.2-150000.47.1
openSUSE · Leap 15.4 git 2.26.2-150000.47.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS git 2.26.2-150000.47.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS git 2.26.2-150000.47.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS git 2.26.2-150000.47.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS git 2.26.2-150000.47.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 git 2.26.2-150000.47.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 git 2.26.2-150000.47.1

Vulnerabilities 4

  • High 8.5

    Git vulnerable to Remote Code Execution via Heap overflow in `git shell`

    Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git's push/pull functionality via SSH. In 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…

  • Medium 6.2
    CVE-2023-23946 Public exploit

    Git's `git apply` overwriting paths outside the working tree

    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…

  • Medium 5.5
    CVE-2022-39253 Public exploit

    Git subject to exposure of sensitive information via local clone of symbolic links

    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 (wh…

  • Medium 5.5
    CVE-2023-22490 Public exploit

    Git vulnerable to local clone-based data exfiltration with non-local transports

    Git is a revision control system. Using a specially-crafted repository, Git 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 can be tricked into using its local clone optimization even when using a non-local…

References

  • report
    https://bugzilla.suse.com/1204455
  • report
    https://bugzilla.suse.com/1204456
  • report
    https://bugzilla.suse.com/1208027
  • report
    https://bugzilla.suse.com/1208028
  • web
    https://www.suse.com/security/cve/CVE-2022-39253
  • web
    https://www.suse.com/security/cve/CVE-2022-39260
  • web
    https://www.suse.com/security/cve/CVE-2023-22490
  • web
    https://www.suse.com/security/cve/CVE-2023-23946