Bug 734936 (CVE-2011-3146)

Summary: CVE-2011-3146 librsvg: object type mismatch leading to invalid pointer dereference
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: davidz, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20110906,reported=20110826,source=vendor-sec,cvss2=6.8/AV:N/AC:M/Au:N/C:P/I:P/A:P,rhel-4/librsvg2=notaffected,rhel-5/librsvg2=notaffected,rhel-6/librsvg2=affected,fedora-all/librsvg2=affected
Fixed In Version: librsvg 2.34.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-13 15:26:27 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 735266, 735267, 736237    
Bug Blocks: 734942    
Attachments:
Description Flags
patch none

Description Vincent Danen 2011-08-31 18:01:20 EDT
A NULL pointer dereference flaw was reported [1] by Sauli Pahlman in librsvg.  If a program linked to librsvg where to open a crafted SVG file, it could cause that application to crash or potentially execute arbitrary code.

[1] https://launchpad.net/bugs/825497
https://bugzilla.gnome.org/show_bug.cgi?id=658014
Comment 3 Huzaifa S. Sidhpurwala 2011-09-02 00:28:16 EDT
Created attachment 521134 [details]
patch
Comment 5 Vincent Danen 2011-09-07 01:09:47 EDT
This is now public, and fixed in upstream 2.34.1:

http://git.gnome.org/browse/librsvg/commit/?id=34c95743ca692ea0e44778e41a7c0a129363de84
Comment 6 Huzaifa S. Sidhpurwala 2011-09-07 02:25:13 EDT
This issue does not affect the version of librsvg2 shipped with Red Hat
Enterprise Linux 4 and 5.

This issue affects the version of librsvg2 shipped with Red Hat Enterprise Linux 6.

This issue affects the version of librsvg2 shipped with Fedora 14 and Fedora 15.
Comment 7 Huzaifa S. Sidhpurwala 2011-09-07 02:26:35 EDT
Created librsvg2 tracking bugs for this issue

Affects: fedora-all [bug 736237]
Comment 8 Murray McAllister 2011-09-08 09:08:19 EDT
Acknowledgements:

Red Hat would like to thank the Ubuntu Security Team for reporting this issue. The Ubuntu Security Team acknowledges Sauli Pahlman as the original reporter.
Comment 9 errata-xmlrpc 2011-09-13 15:19:02 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1289 https://rhn.redhat.com/errata/RHSA-2011-1289.html