Bug 565997 (CVE-2010-3444) - CVE-2010-3444 pyfribidi: buffer overflow when processing Arabic UTF-8 strings
Summary: CVE-2010-3444 pyfribidi: buffer overflow when processing Arabic UTF-8 strings
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2010-3444
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 565998
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-16 21:15 UTC by Vincent Danen
Modified: 2021-10-19 09:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-19 09:10:03 UTC
Embargoed:


Attachments (Terms of Use)

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.


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