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

Security update for libgit2

Published Sep 15, 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 2

ReleasePackageFixed in
openSUSE · Leap 15.4 libgit2 1.3.0-150400.3.3.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Development Tools 15 SP4 libgit2 1.3.0-150400.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