Bug 1553917 (CVE-2018-7889) - CVE-2018-7889 calibre: Deserialization vulnerability in calibre/gui2/viewer/bookmarkmanager.py
Summary: CVE-2018-7889 calibre: Deserialization vulnerability in calibre/gui2/viewer/b...
Status: CLOSED RAWHIDE
Alias: CVE-2018-7889
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20180309,repor...
Keywords: Security
Depends On: 1553919
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-09 21:19 UTC by Pedro Sampaio
Modified: 2019-06-08 22:45 UTC (History)
6 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2019-05-24 19:42:22 UTC


Attachments (Terms of Use)

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 Andrew 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?


Note You need to log in before you can comment on or make changes to this bug.