Bug 980894 (CVE-2013-2221)

Summary: CVE-2013-2221 libzrtpcpp: Heap-based buffer overflow when processing overly-large ZRTP packets
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alekcejk, jrusnack, kevin, manuel.wolfshant, rcvalle
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: 2013-07-16 06:11:00 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: 980904, 980905    
Bug Blocks:    

Description Jan Lieskovsky 2013-07-03 13:16:43 UTC
A heap-based buffer overflow flaw was found in the way libzrtpcpp, a ZRTP support library for the GNU ccRTP stack, processed certain ZRTP packets (overly-large ZRTP packets of several types). A remote attacker could provide a specially-crafted ZRTP packet that, when processed in an application linked against libzrtpcpp would lead to that application crash or, potentially, arbitrary code execution with the privileges of the user running that application.

References:
[1] http://www.openwall.com/lists/oss-security/2013/06/29/1
[2] http://www.openwall.com/lists/oss-security/2013/06/30/2
[3] http://blog.azimuthsecurity.com/2013/06/attacking-crypto-phones-weaknesses-in.html

Relevant upstream patch:
[4] https://github.com/wernerd/ZRTPCPP/commit/c8617100f359b217a974938c5539a1dd8a120b0e

Comment 1 Jan Lieskovsky 2013-07-03 13:27:26 UTC
This issue affects the versions of the libzrtpcpp package, as shipped with Fedora release of 17 and 18. Please schedule an update.

--

This issue affects the versions of the libzrtpcpp package, as shipped with Fedora EPEL-5 and Fedora EPEL-6. Please schedule an update.

Comment 2 Jan Lieskovsky 2013-07-03 13:31:14 UTC
Created libzrtpcpp tracking bugs for this issue:

Affects: fedora-all [bug 980904]

Comment 3 Jan Lieskovsky 2013-07-03 13:34:09 UTC
Created libzrtpcpp tracking bugs for this issue:

Affects: epel-all [bug 980905]

Comment 4 Fedora Update System 2013-07-16 01:43:08 UTC
libzrtpcpp-2.3.4-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.