Advisory

DEBIAN-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 13:29 UTC
Modified
2026-10-23 18:02 UTC

Affected packages and fixes

patch

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 2.7.6-2 (ecosystem)

Fixed versions

2.7.6-2

Fix

  • Fixed version 2.7.6-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.

patch

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2.7.6-2 (ecosystem)

Fixed versions

2.7.6-2

Fix

  • Fixed version 2.7.6-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.

patch

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2.7.6-2 (ecosystem)

Fixed versions

2.7.6-2

Fix

  • Fixed version 2.7.6-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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences