Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200809-15 ] GNU ed: User-assisted execution of arbitrary code
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Veteran
Veteran


Joined: 12 May 2004
Posts: 1582

PostPosted: Tue Sep 23, 2008 11:26 pm    Post subject: [ GLSA 200809-15 ] GNU ed: User-assisted execution of arbitr Reply with quote

Gentoo Linux Security Advisory

Title: GNU ed: User-assisted execution of arbitrary code (GLSA 200809-15)
Severity: normal
Exploitable: remote
Date: September 23, 2008
Bug(s): #236521
ID: 200809-15

Synopsis

A buffer overflow vulnerability in ed may allow for the remote execution of arbitrary code.

Background

GNU ed is a basic line editor. red is a restricted version of ed that does not allow shell command execution.

Affected Packages

Package: sys-apps/ed
Vulnerable: < 1.0
Unaffected: >= 1.0
Architectures: All supported architectures


Description

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.

Resolution

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


References

CVE-2008-3916
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum