Advisory

UBUNTU-CVE-2018-10887

Also known as: CVE-2018-10887

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Dates

Published
2018-07-10 14:29 UTC
Modified
2026-04-22 11:41 UTC

Affected packages and fixes

libgit2

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 0.19.0-2ubuntu0.4 (ecosystem)

Fixed versions

0.19.0-2ubuntu0.4

Fix

  • Fixed version 0.19.0-2ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgit2

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 0.24.1-2ubuntu0.2 (ecosystem)

Fixed versions

0.24.1-2ubuntu0.2

Fix

  • Fixed version 0.24.1-2ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgit2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 0.26.0+dfsg.1-1.1ubuntu0.2 (ecosystem)

Fixed versions

0.26.0+dfsg.1-1.1ubuntu0.2

Fix

  • Fixed version 0.26.0+dfsg.1-1.1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences