Bug 565997 (CVE-2010-3444)

Summary: CVE-2010-3444 pyfribidi: buffer overflow when processing Arabic UTF-8 strings
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: roozbeh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-19 09:10: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:
Embargoed:
Bug Depends On: 565998    
Bug Blocks:    

Description Vincent Danen 2010-02-16 21:15:47 UTC
It was reported [1] that pyfribidi contains a buffer overflow in the log2vis_utf8() function due to the assumption that the string returned by fribidi_unicode_to_utf8() will be the same length as the original UTF-8 string.  Due to changes in fribidi 0.19.1, for the Arabic language this is not the case as the joining added in fribidi causes some of the original 2-byte UTF-8 sequences to be come 3-bytes long.

The upstream report also includes a patch that is supposed to correct the issue by increasing the size of the buffer passed to fribidi_unicode_to_utf8().

Due to Fedora 11 and 12 containing fribidi 0.19.2, this would affect Fedora.

[1] http://sourceforge.net/tracker/?func=detail&aid=2676136&group_id=158366&atid=807545

Comment 2 Vincent Danen 2010-10-01 20:03:48 UTC
This has been assigned the name CVE-2010-3444.