Debian DLA-1348-1 : patch security update

high 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: High

ID: 109063

File Name: debian_DLA-1348.nasl

Version: 1.7

Type: local

Agent: unix

Published: 4/17/2018

Updated: 10/31/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2018-1000156

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/16/2018

Vulnerability Publication Date: 4/6/2018

Reference Information

CVE: CVE-2018-1000156