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

High Nessus Plugin ID 34273


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


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.


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

See Also

Plugin Details

Severity: High

ID: 34273

File Name: gentoo_GLSA-200809-15.nasl

Version: $Revision: 1.11 $

Type: local

Published: 2008/09/24

Modified: 2015/04/13

Dependencies: 12634

Risk Information

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: 2008/09/23

Reference Information

CVE: CVE-2008-3916

GLSA: 200809-15

CWE: 119