Bug 215136 - CVE-2006-5864: gv <= 3.6.2 stack-based buffer overflow
Summary: CVE-2006-5864: gv <= 3.6.2 stack-based buffer overflow
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gv
Version: 6
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL: http://nvd.nist.gov/nvd.cfm?cvename=C...
Whiteboard:
Depends On:
Blocks: 215265
TreeView+ depends on / blocked
 
Reported: 2006-11-11 10:46 UTC by Ville Skyttä
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: 3.6.2-2
Clone Of:
Environment:
Last Closed: 2006-12-05 19:42:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2006-11-11 10:46:46 UTC
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2006-5864

"Stack-based buffer overflow in the ps_gettext function in ps.c for GNU gv
3.6.2, and possibly earlier versions, allows user-assisted attackers to execute
arbitrary code via a PostScript (PS) file with certain headers that contain long
comments, as demonstrated using the DocumentMedia header."

Comment 2 Michal Jaegermann 2006-12-04 17:09:44 UTC
Mandriva Linux Security Advisory, MDKSA-2006:214-1, says the following:

"The patch used in the previous update still left the possibility of
 causing X to consume unusual amounts of memory if gv is used to view a
 carefully crafted image designed to exploit CVE-2006-5864. This update
 uses an improved patch to address this issue."

For patches see, for example, gv-3.6.1-4.3.20060mdk.src.rpm

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5864

Comment 3 Orion Poplawski 2006-12-05 19:42:28 UTC
Thanks for the references.  Fixed in 3.6.2-2.

Comment 4 Ville Skyttä 2006-12-06 17:39:42 UTC
For info for people interested in older distros: the patch has been applied in
Extras for FC5+ only, not FC4 at the moment.


Note You need to log in before you can comment on or make changes to this bug.