GLSA-200809-15 : GNU ed: User-assisted execution of arbitrary code

high Nessus Plugin ID 34273

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200809-15 (GNU ed: User-assisted execution of arbitrary code)

Alfredo Ortega from Core Security Technologies reported a heap-based buffer overflow in the strip_escapes() function when processing overly long filenames.
Impact :

A remote attacker could entice a user to process specially crafted commands with ed or red, possibly resulting in the execution of arbitrary code with the privileges of the user running the application.
Workaround :

There is no known workaround at this time.

Solution

All GNU ed users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-apps/ed-1.0'

See Also

https://security.gentoo.org/glsa/200809-15

Plugin Details

Severity: High

ID: 34273

File Name: gentoo_GLSA-200809-15.nasl

Version: 1.13

Type: local

Published: 9/24/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:ed, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 9/23/2008

Reference Information

CVE: CVE-2008-3916

CWE: 119

GLSA: 200809-15