Advisory

UBUNTU-CVE-2018-1000156

Also known as: CVE-2018-1000156

Summary

The record has no summary.

Details

GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is similar to FreeBSD's CVE-2015-1418 however although they share a common ancestry the code bases have diverged over time.

Severity

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

Dates

Published
2018-04-06 00:00 UTC
Modified
2026-02-04 02:43 UTC

Affected packages and fixes

patch

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2.7.1-4ubuntu2.4 (ecosystem)

Fixed versions

2.7.1-4ubuntu2.4

Fix

  • Fixed version 2.7.1-4ubuntu2.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.

patch

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.7.5-1ubuntu0.16.04.1 (ecosystem)

Fixed versions

2.7.5-1ubuntu0.16.04.1

Fix

  • Fixed version 2.7.5-1ubuntu0.16.04.1
    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