Bug 1331725 (CVE-2016-4348)

Summary: CVE-2016-4348 librsvg2: DoS parsing SVGs with circular definitions _rsvg_css_normalize_font_size() function
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anemec, carnil, mclasen, otte, rhughes, slawomir
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: librsvg2 2.40.12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-04 04:30:56 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: 1331727, 1331728    
Bug Blocks: 1331729    

Description Martin Prpič 2016-04-29 11:50:45 UTC
A denial of service flaw was found in the way the librsvg2 library parsed SVG files. A specially crafted SVG file with circular definitions could cause an application using librsvg2 to crash.

This flaw is in the _rsvg_css_normalize_font_size() function.

Reference (including reproducer):

http://seclists.org/oss-sec/2016/q2/161

Comment 1 Martin Prpič 2016-04-29 11:59:43 UTC
Created librsvg2 tracking bugs for this issue:

Affects: fedora-all [bug 1331727]

Comment 2 Martin Prpič 2016-04-29 11:59:49 UTC
Created mingw-librsvg2 tracking bugs for this issue:

Affects: fedora-all [bug 1331728]

Comment 3 Andrej Nemec 2016-05-11 08:48:03 UTC
Upstream fix:

https://git.gnome.org/browse/librsvg/commit/?id=d1c9191949747f6dcfd207831d15dd4ba00e31f2

This fix is two commits before the other commit.