Skip to content
OpenAdvisories
High SUSE-SU-2024:2584-1 2 CVEs

Security update for libgit2

Published Jul 22, 2024 · Updated Feb 4, 2026

Summary

This update for libgit2 fixes the following issues:

Update to 1.7.2:

Security fixes:

- CVE-2024-24577: Fixed arbitrary code execution due to heap corruption in git_index_add (bsc#1219660)
- CVE-2024-24575: Fixed potential infinite loop condition in git_revparse_single() (bsc#1219664)

Other fixes:
- A bug in the smart transport negotiation could have caused an out-of-bounds read when a remote server did not advertise capabilities.

Fixed packages 2

ReleasePackageFixed in
openSUSE · Leap 15.6 libgit2 1.7.2-150600.3.3.1
SUSE · SLES 15 SP6 Linux Enterprise Module for Development Tools 15 SP6 libgit2 1.7.2-150600.3.3.1

Vulnerabilities 2

  • High 8.6

    libgit2 is vulnerable to arbitrary code execution due to heap corruption in `git_index_add`

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_index_add` can cause heap corruption that could be lev…

  • High 7.5

    libgit2 is vulnerable to a denial of service attack in `git_revparse_single`

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_revparse_single` can cause the function to enter an in…

References

  • report
    https://bugzilla.suse.com/1219660
  • report
    https://bugzilla.suse.com/1219664
  • web
    https://www.suse.com/security/cve/CVE-2024-24575
  • web
    https://www.suse.com/security/cve/CVE-2024-24577