Bug 1226188

Summary: calibre: vulnerable embedded copy of WOFF
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: chkr, jo-roemer, kevin, nushio, sysoutfran, zbyszek
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: 2016-06-27 16:02:21 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: 1226189    
Bug Blocks:    

Description Martin Prpič 2015-05-29 07:40:27 UTC
Calibre contains an outdated embedded copy of Mozilla's WOFF code (in src/calibre/utils/fonts/woff/), which is known to have some security issues.

1) https://bugzilla.mozilla.org/show_bug.cgi?id=552216 (aka CVE-2010-1028)

Patch: https://hg.mozilla.org/releases/mozilla-1.9.2/rev/827a6883442f

2) https://bugzilla.mozilla.org/show_bug.cgi?id=522308

Patch: https://hg.mozilla.org/mozilla-central/rev/69eb050f2c0a

Mozilla's newest release does not contain the vulnerable code.

Originally reported at:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787085

Comment 1 Martin Prpič 2015-05-29 07:40:50 UTC
Created calibre tracking bugs for this issue:

Affects: fedora-all [bug 1226189]

Comment 2 Zbigniew Jędrzejewski-Szmek 2015-05-29 13:13:04 UTC
Is there a shared library that could be used instead? (dnf search doesn't return anything useful.)

Comment 3 Martin Prpič 2015-05-29 13:30:14 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #2)
> Is there a shared library that could be used instead? (dnf search doesn't
> return anything useful.)

I couldn't find anything either. I suppose updating the embedded copy is the way to go. Other than that, you could propose a new package to be added to the repos.

Comment 4 Johannes Römer 2016-06-26 13:27:50 UTC
The WOFF code has been removed from Calibre with version 2.34 (released on August 7, 2015).
https://github.com/kovidgoyal/calibre/commit/f862513e830d27eab7613d2aaa6104d7a9c55d5a

Fedora already packages newer versions of Calibre, so this should not be an issue any more.

Comment 5 Kevin Fenzi 2016-06-27 16:02:21 UTC
Yep. this looks like it's no longer an issue...