Red Hat Bugzilla – Full Text Bug Listing
|Summary:||CVE-2012-3374 pidgin: Stack-based buffer overwrite in MXit protocol libPurple plug-in|
|Product:||[Other] Security Response||Reporter:||Jan Lieskovsky <jlieskov>|
|Component:||vulnerability||Assignee:||Red Hat Product Security <security-response-team>|
|Status:||CLOSED ERRATA||QA Contact:|
|Version:||unspecified||CC:||jrb, mbarnes, security-response-team|
|Fixed In Version:||pidgin 2.10.5||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2012-07-19 12:58:14 EDT||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:||837559, 837560, 837561, 837562, 837874|
|Bug Blocks:||819458, 837326|
Description Jan Lieskovsky 2012-07-03 08:49:49 EDT
A stack-based buffer overwrite flaw was found in the way MXit protocol plug-in implementation of libPurple, the core of an instant messaging program, such as Pidgin, replaced certain custom emoticon tags with corresponding image tags by processing received RX message data, prior returning the instant message to the user interface for it's presentation to the user. A remote attacker could provide a RX message with specially-crafted emoticon tags, that when processed by the libPurple's MXit protocol plug-in by an application linked against libPurple could lead to that application crash or, potentially, arbitrary code execution with the privileges of the user running the application. Upstream ticket (private for now):  http://pidgin.im/news/security/?id=64 Patch for the problem and tarballs for v2.10.5 are available here:  http://pidgin.im/~markdoliner/lkFja97sFw89/
Comment 2 Jan Lieskovsky 2012-07-03 08:53:15 EDT
This issue affects the versions of the pidgin package, as shipped with Red Hat Enterprise Linux 5 and 6. -- This issue affects the versions of the pidgin package, as shipped with Fedora release of 16 and 17.
Comment 3 Jan Lieskovsky 2012-07-03 08:54:28 EDT
Preliminary embargo date for this issue has been proposed by upstream to expire on this Thursday, 5-th July of 2012, 16:00 UTC time.
Comment 4 Jan Lieskovsky 2012-07-03 08:58:06 EDT
The CVE identifier of CVE-2012-3374 has been assigned to this issue.
Comment 5 Jan Lieskovsky 2012-07-03 09:07:31 EDT
Acknowledgements: Red Hat would like to thank the Pidgin project for reporting this issue. Upstream acknowledges Ulf Härnhammar as the original reporter.
Comment 6 Jan Lieskovsky 2012-07-03 09:12:24 EDT
Created attachment 595977 [details] Local copy of proposed Pidgin upstream patch for MXit protocol plug-in
Comment 9 Huzaifa S. Sidhpurwala 2012-07-04 02:38:00 EDT
Ok, after looking at the assembly dump, memcpy is protected by __memcpy_chk and since destlen is known at build time, __memcpy_chk() will catch the overflow and abort, so non exploitable and therefore only moderate impact.
Comment 12 Vincent Danen 2012-07-05 12:31:54 EDT
Comment 13 Vincent Danen 2012-07-05 12:33:24 EDT
Created pidgin tracking bugs for this issue Affects: fedora-all [bug 837874]
Comment 15 Fedora Update System 2012-07-10 12:23:50 EDT
pidgin-2.10.5-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
Comment 16 Fedora Update System 2012-07-14 18:01:25 EDT
pidgin-2.10.5-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.