SUSE-SU-2024:2583-1

Vulnerability from csaf_suse - Published: 2024-07-22 11:40 - Updated: 2024-07-22 11:40
Summary
Security update for libgit2

Notes

Title of the patch
Security update for libgit2
Description of the patch
This update for libgit2 fixes the following issues: - CVE-2024-24577: Fixed arbitrary code execution due to heap corruption in git_index_add (bsc#1219660)
Patchnames
SUSE-2024-2583,SUSE-SLE-SDK-12-SP5-2024-2583
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for libgit2",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for libgit2 fixes the following issues:\n\n- CVE-2024-24577: Fixed arbitrary code execution due to heap corruption in git_index_add (bsc#1219660)\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-2024-2583,SUSE-SLE-SDK-12-SP5-2024-2583",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_2583-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2024:2583-1",
        "url": "https://www.suse.com/support/update/announcement/2024/suse-su-20242583-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2024:2583-1",
        "url": "https://lists.suse.com/pipermail/sle-updates/2024-July/036089.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1219660",
        "url": "https://bugzilla.suse.com/1219660"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2024-24577 page",
        "url": "https://www.suse.com/security/cve/CVE-2024-24577/"
      }
    ],
    "title": "Security update for libgit2",
    "tracking": {
      "current_release_date": "2024-07-22T11:40:46Z",
      "generator": {
        "date": "2024-07-22T11:40:46Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2024:2583-1",
      "initial_release_date": "2024-07-22T11:40:46Z",
      "revision_history": [
        {
          "date": "2024-07-22T11:40:46Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libgit2-24-0.24.1-11.5.1.aarch64",
                "product": {
                  "name": "libgit2-24-0.24.1-11.5.1.aarch64",
                  "product_id": "libgit2-24-0.24.1-11.5.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "libgit2-devel-0.24.1-11.5.1.aarch64",
                "product": {
                  "name": "libgit2-devel-0.24.1-11.5.1.aarch64",
                  "product_id": "libgit2-devel-0.24.1-11.5.1.aarch64"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libgit2-24-64bit-0.24.1-11.5.1.aarch64_ilp32",
                "product": {
                  "name": "libgit2-24-64bit-0.24.1-11.5.1.aarch64_ilp32",
                  "product_id": "libgit2-24-64bit-0.24.1-11.5.1.aarch64_ilp32"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64_ilp32"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libgit2-24-0.24.1-11.5.1.i586",
                "product": {
                  "name": "libgit2-24-0.24.1-11.5.1.i586",
                  "product_id": "libgit2-24-0.24.1-11.5.1.i586"
                }
              },
              {
                "category": "product_version",
                "name": "libgit2-devel-0.24.1-11.5.1.i586",
                "product": {
                  "name": "libgit2-devel-0.24.1-11.5.1.i586",
                  "product_id": "libgit2-devel-0.24.1-11.5.1.i586"
                }
              }
            ],
            "category": "architecture",
            "name": "i586"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libgit2-24-0.24.1-11.5.1.ppc64le",
                "product": {
                  "name": "libgit2-24-0.24.1-11.5.1.ppc64le",
                  "product_id": "libgit2-24-0.24.1-11.5.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "libgit2-devel-0.24.1-11.5.1.ppc64le",
                "product": {
                  "name": "libgit2-devel-0.24.1-11.5.1.ppc64le",
                  "product_id": "libgit2-devel-0.24.1-11.5.1.ppc64le"
                }
              }
            ],
            "category": "architecture",
            "name": "ppc64le"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libgit2-24-0.24.1-11.5.1.s390",
                "product": {
                  "name": "libgit2-24-0.24.1-11.5.1.s390",
                  "product_id": "libgit2-24-0.24.1-11.5.1.s390"
                }
              },
              {
                "category": "product_version",
                "name": "libgit2-devel-0.24.1-11.5.1.s390",
                "product": {
                  "name": "libgit2-devel-0.24.1-11.5.1.s390",
                  "product_id": "libgit2-devel-0.24.1-11.5.1.s390"
                }
              }
            ],
            "category": "architecture",
            "name": "s390"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libgit2-24-0.24.1-11.5.1.s390x",
                "product": {
                  "name": "libgit2-24-0.24.1-11.5.1.s390x",
                  "product_id": "libgit2-24-0.24.1-11.5.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "libgit2-24-32bit-0.24.1-11.5.1.s390x",
                "product": {
                  "name": "libgit2-24-32bit-0.24.1-11.5.1.s390x",
                  "product_id": "libgit2-24-32bit-0.24.1-11.5.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "libgit2-devel-0.24.1-11.5.1.s390x",
                "product": {
                  "name": "libgit2-devel-0.24.1-11.5.1.s390x",
                  "product_id": "libgit2-devel-0.24.1-11.5.1.s390x"
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libgit2-24-0.24.1-11.5.1.x86_64",
                "product": {
                  "name": "libgit2-24-0.24.1-11.5.1.x86_64",
                  "product_id": "libgit2-24-0.24.1-11.5.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "libgit2-24-32bit-0.24.1-11.5.1.x86_64",
                "product": {
                  "name": "libgit2-24-32bit-0.24.1-11.5.1.x86_64",
                  "product_id": "libgit2-24-32bit-0.24.1-11.5.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "libgit2-devel-0.24.1-11.5.1.x86_64",
                "product": {
                  "name": "libgit2-devel-0.24.1-11.5.1.x86_64",
                  "product_id": "libgit2-devel-0.24.1-11.5.1.x86_64"
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Software Development Kit 12 SP5",
                "product": {
                  "name": "SUSE Linux Enterprise Software Development Kit 12 SP5",
                  "product_id": "SUSE Linux Enterprise Software Development Kit 12 SP5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sle-sdk:12:sp5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libgit2-24-0.24.1-11.5.1.x86_64 as component of SUSE Linux Enterprise Software Development Kit 12 SP5",
          "product_id": "SUSE Linux Enterprise Software Development Kit 12 SP5:libgit2-24-0.24.1-11.5.1.x86_64"
        },
        "product_reference": "libgit2-24-0.24.1-11.5.1.x86_64",
        "relates_to_product_reference": "SUSE Linux Enterprise Software Development Kit 12 SP5"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-24577",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2024-24577"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "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 leveraged for arbitrary code execution. There is an issue in the `has_dir_name` function in `src/libgit2/index.c`, which frees an entry that should not be freed. The freed entry is later used and overwritten with potentially bad actor-controlled data leading to controlled heap corruption. Depending on the application that uses libgit2, this could lead to arbitrary code execution. This issue has been patched in version 1.6.5 and 1.7.2.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Linux Enterprise Software Development Kit 12 SP5:libgit2-24-0.24.1-11.5.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2024-24577",
          "url": "https://www.suse.com/security/cve/CVE-2024-24577"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1219660 for CVE-2024-24577",
          "url": "https://bugzilla.suse.com/1219660"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Linux Enterprise Software Development Kit 12 SP5:libgit2-24-0.24.1-11.5.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 8.6,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L",
            "version": "3.1"
          },
          "products": [
            "SUSE Linux Enterprise Software Development Kit 12 SP5:libgit2-24-0.24.1-11.5.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2024-07-22T11:40:46Z",
          "details": "important"
        }
      ],
      "title": "CVE-2024-24577"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…