Bug 208162

Summary: CVE-2006-4980 repr unicode buffer overflow
Product: Red Hat Enterprise Linux 4 Reporter: Josh Bressers <bressers>
Component: pythonAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: katzj
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=important,source=vendorsec,reported=20060925,public=20060816
Fixed In Version: RHSA-2006-0713 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-09 21:54:32 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:    
Bug Blocks: 430641    
Attachments:
Description Flags
Upstream patch none

Description Josh Bressers 2006-09-26 18:10:30 UTC
A bug in the way python's repr function handles certain unicode objects.  repr
mistakenly assumes that all unicode characters will be 6 characters in length
(UTF-16) when it is possible for some strings to use wide characters (UTF-32) to
overflow a buffer.

There is more information in the Ubuntu bug:
https://launchpad.net/distros/ubuntu/+source/python2.4/+bug/56633

and the upstream bug:
http://sourceforge.net/tracker/index.php?aid=1541585&group_id=5470&atid=305470&func=detail

Comment 1 Josh Bressers 2006-09-26 18:13:04 UTC
This issue also affects RHEL3

Comment 4 Josh Bressers 2006-09-26 19:00:42 UTC
Created attachment 137161 [details]
Upstream patch

Comment 9 Red Hat Bugzilla 2006-10-09 21:54:34 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0713.html