Skip to content
OpenAdvisories
High SUSE-SU-2022:3494-1 2 CVEs

Security update for libgit2

Published Oct 4, 2022 · Updated Feb 4, 2026

Summary

This update for libgit2 fixes the following issues:

- CVE-2022-24765: Fixed potential command injection via git worktree (bsc#1198234).
- CVE-2022-29187: Fixed incomplete fix for CVE-2022-24765 (bsc#1201431).

Fixed packages 15

ReleasePackageFixed in
SUSE · Enterprise Storage 7 libgit2 0.28.4-150200.3.3.1
openSUSE · Leap 15.3 libgit2 0.28.4-150200.3.3.1
openSUSE · Leap 15.4 libgit2 0.28.4-150200.3.3.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS libgit2 0.28.4-150200.3.3.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS libgit2 0.28.4-150200.3.3.1
SUSE · SLES 15 SP3 Linux Enterprise Module for Development Tools 15 SP3 libgit2 0.28.4-150200.3.3.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL libgit2 0.28.4-150200.3.3.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS libgit2 0.28.4-150200.3.3.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 libgit2 0.28.4-150200.3.3.1
SUSE · Manager Proxy 4.1 libgit2 0.28.4-150200.3.3.1
SUSE · Manager Retail Branch Server 4.1 libgit2 0.28.4-150200.3.3.1
SUSE · Manager Server 4.1 libgit2 0.28.4-150200.3.3.1
SUSE · Manager Server Module 4.1 libgit2 0.28.4-150200.3.3.1
SUSE · Manager Server Module 4.2 libgit2 0.28.4-150200.3.3.1
SUSE · Manager Server Module 4.3 libgit2 0.28.4-150200.3.3.1

Vulnerabilities 2

  • High 7.8

    Bypass of safe.directory protections in Git

    Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported …

  • Medium 6.0
    CVE-2022-24765 Public exploit

    Uncontrolled search for the Git directory in Git for Windows

    Git for Windows is a fork of Git containing Windows-specific patches. This vulnerability affects users working on multi-user machines, where untrusted parties have write access to the same hard disk. Those untrusted parties could create the folder `C:\.git`, …

References

  • report
    https://bugzilla.suse.com/1198234
  • report
    https://bugzilla.suse.com/1201431
  • web
    https://www.suse.com/security/cve/CVE-2022-24765
  • web
    https://www.suse.com/security/cve/CVE-2022-29187