Bug 1553917 (CVE-2018-7889)

Summary: CVE-2018-7889 calibre: Deserialization vulnerability in calibre/gui2/viewer/bookmarkmanager.py
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: audrey, chkr, helio, kevin, nushio, zbyszek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: calibre 3.19.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-24 19:42:22 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: 1553919    
Bug Blocks:    

Description Pedro Sampaio 2018-03-09 21:19:13 UTC
gui2/viewer/bookmarkmanager.py in Calibre 3.18 calls cPickle.load on imported bookmark data, which allows remote attackers to execute arbitrary code via a crafted .pickle file, as demonstrated by Python code that contains an os.system call.

Upstream patch:

https://github.com/kovidgoyal/calibre/commit/aeb5b036a0bf657951756688b3c72bd68b6e4a7d

References:

https://bugs.launchpad.net/calibre/+bug/1753870

Comment 1 Pedro Sampaio 2018-03-09 21:20:05 UTC
Created calibre tracking bugs for this issue:

Affects: fedora-all [bug 1553919]

Comment 2 Audrey Yeena Toskin 2019-05-24 18:53:46 UTC
The upstream patch mentioned in the original post was from a little over a year ago now. There's been several Calibre releases since then, so it's been fixed for a while, right? Can we close this issue?