Bug 801896 (CVE-2012-1176)

Summary: CVE-2012-1176 pyfribidi: buffer overflow when handling 4-byte utf-8 sequences
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: gwync, hdegoede
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-22 15:09:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 801897    
Bug Blocks:    

Description Vincent Danen 2012-03-09 19:06:06 UTC
A buffer overflow flaw was reported [1].[2] in pyfribidi's fribidi_utf8_to_unicode() function, due to it handling at most 3 bytes for a single unicode character.  If a 4-byte utf-8 sequence was supplied, it would generate 2 unicode characters which would overflow the logical buffer.  This has been fixed in pyfribidi 0.11 [3].

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663189
[2] https://github.com/pediapress/pyfribidi/issues/2
[3] https://github.com/pediapress/pyfribidi/commit/d2860c655357975e7b32d84e6b45e98f0dcecd7a

Comment 1 Vincent Danen 2012-03-09 19:06:46 UTC
Created pyfribidi tracking bugs for this issue

Affects: fedora-all [bug 801897]

Comment 2 Vincent Danen 2012-03-14 18:12:19 UTC
This was assigned the name CVE-2012-1176: