Debian DLA-1348-1 : patch security update

Medium Nessus Plugin ID 109063

Synopsis

The remote Debian host is missing a security update.

Description

It was discovered that there was an input validation vulnerability in the patch(1) utility where an ed(1) script embedded in a regular input file could result in arbitrary code execution. This was reported by Rachel Kroll [0] et al.

For Debian 7 'Wheezy', this issue has been fixed in patch version 2.6.1-3+deb7u1.

We recommend that you upgrade your patch packages.

[0] https://rachelbythebay.com/w/2018/04/05/bangpatch/

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected patch package.

See Also

https://lists.debian.org/debian-lts-announce/2018/04/msg00013.html

https://packages.debian.org/source/wheezy/patch

https://rachelbythebay.com/w/2018/04/05/bangpatch/

Plugin Details

Severity: Medium

ID: 109063

File Name: debian_DLA-1348.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2018/04/17

Updated: 2018/08/31

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3.0

Base Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:patch, cpe:/o:debian:debian_linux:7.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 2018/04/16

Reference Information

CVE: CVE-2018-1000156