Bug 464716 (CVE-2008-3641)

Summary: CVE-2008-3641 CUPS: HP/GL reader insufficient bounds checking
Product: [Other] Security Response Reporter: Josh Bressers <bressers>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: kreilly, twaugh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-3641
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-16 07:35:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 464718, 464719, 464720, 464721, 464722, 466418, 466419, 466420    
Bug Blocks:    
Attachments:
Description Flags
Patch from Apple none

Description Josh Bressers 2008-09-30 00:36:55 UTC
An unchecked index issue exists within the PW_pen_width() and
PC_pen_color() functions in the hpgltops CUPS image filter. Buffer bounds
are not properly validated when handling the pen width and pen color
opcodes, potentially resulting in arbitrary memory being overwritten with
controlled data.

Acknowledgements:

Red Hat would like to thank "regenrecht" for reporting this issue.

Comment 1 Josh Bressers 2008-09-30 00:38:49 UTC
Created attachment 318029 [details]
Patch from Apple

Comment 5 Tomas Hoger 2008-10-10 06:40:13 UTC
Public now via:

http://cups.org/articles.php?L575
http://www.cups.org/str.php?L2911

Fixed upstream in: 1.3.9

Comment 7 Tomas Hoger 2008-10-13 11:30:46 UTC
The fix for this issue was reported to introduce regression in the HP-GL/2 file format handling:

  http://www.cups.org/str.php?L2966

According to upstream, "It shouldn't break "valid" HP-GL/2 files that specify pen numbers."

Comment 8 Fedora Update System 2008-10-16 02:03:49 UTC
cups-1.3.9-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2008-10-16 02:08:23 UTC
cups-1.3.9-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.