1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200809-15 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: GNU ed: User-assisted execution of arbitrary code |
9 |
Date: September 23, 2008 |
10 |
Bugs: #236521 |
11 |
ID: 200809-15 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A buffer overflow vulnerability in ed may allow for the remote |
19 |
execution of arbitrary code. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
GNU ed is a basic line editor. red is a restricted version of ed that |
25 |
does not allow shell command execution. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 sys-apps/ed < 1.0 >= 1.0 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
Alfredo Ortega from Core Security Technologies reported a heap-based |
39 |
buffer overflow in the strip_escapes() function when processing overly |
40 |
long filenames. |
41 |
|
42 |
Impact |
43 |
====== |
44 |
|
45 |
A remote attacker could entice a user to process specially crafted |
46 |
commands with ed or red, possibly resulting in the execution of |
47 |
arbitrary code with the privileges of the user running the application. |
48 |
|
49 |
Workaround |
50 |
========== |
51 |
|
52 |
There is no known workaround at this time. |
53 |
|
54 |
Resolution |
55 |
========== |
56 |
|
57 |
All GNU ed users should upgrade to the latest version: |
58 |
|
59 |
# emerge --sync |
60 |
# emerge --ask --oneshot --verbose ">=sys-apps/ed-1.0" |
61 |
|
62 |
References |
63 |
========== |
64 |
|
65 |
[ 1 ] CVE-2008-3916 |
66 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3916 |
67 |
|
68 |
Availability |
69 |
============ |
70 |
|
71 |
This GLSA and any updates to it are available for viewing at |
72 |
the Gentoo Security Website: |
73 |
|
74 |
http://security.gentoo.org/glsa/glsa-200809-15.xml |
75 |
|
76 |
Concerns? |
77 |
========= |
78 |
|
79 |
Security is a primary focus of Gentoo Linux and ensuring the |
80 |
confidentiality and security of our users machines is of utmost |
81 |
importance to us. Any security concerns should be addressed to |
82 |
security@g.o or alternatively, you may file a bug at |
83 |
http://bugs.gentoo.org. |
84 |
|
85 |
License |
86 |
======= |
87 |
|
88 |
Copyright 2008 Gentoo Foundation, Inc; referenced text |
89 |
belongs to its owner(s). |
90 |
|
91 |
The contents of this document are licensed under the |
92 |
Creative Commons - Attribution / Share Alike license. |
93 |
|
94 |
http://creativecommons.org/licenses/by-sa/2.5 |