VDB

CVE-2018-10887

CVE-2018-10887 PUBLISHED CVSS 8.100000381469727 HIGH

Reported by redhat · Published July 10, 2018

rugged is fixed in 0.27.3 (RubyGems)

A flaw was found in libgit2 before version 0.27.3. It has been discovered that an unexpected sign extension in git_delta_apply function in delta.c file may lead to an integer overflow which in turn leads to an out of bound read, allowing to read before the base object. An attacker may use this flaw to leak memory addresses or cause a Denial of Service.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ruggedRubyGems0.27.3
pygit2PyPI0.27.3
libgit2-1.0Alpine0.27.3-r0
libgit2Alpine0.27.3-r0
libgit2libgit20.27.3
libgit2Ubuntu:18.04:LTS0.26.0+dfsg.1-1.1ubuntu0.2
libgit2Ubuntu:16.04:LTS0.24.1-2ubuntu0.2

Risk scores

CVSS 3.0
8.100000381469727
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
libgit2libgit2before version 0.27.3
RubyGemsrugged0
alpinelibgit2-1.00
alpinelibgit20
PyPIpygit20
libgit2libgit20
alpinelibgit2-0.270
alpinelibgit2-1.10

Timeline

  • Jul 10, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 23, 2026 Security Advisory
  • Sep 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-10887
vulnetix vdb fixes CVE-2018-10887

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-10887/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›