PT-2018-18307 · Kovid Goyal+1 · Calibre+1

Ayrx

·

Published

2018-03-08

·

Updated

2018-10-19

·

CVE-2018-7889

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Calibre version 3.18
Description: The issue concerns the execution of arbitrary code via a crafted .pickle file. Specifically, the gui2/viewer/bookmarkmanager.py module in Calibre calls cPickle.load on imported bookmark data, allowing remote attackers to execute arbitrary code. This can be demonstrated by Python code that contains an os.system call.
Recommendations: For Calibre version 3.18, consider avoiding the use of cPickle.load on untrusted input until a patch is available. As a temporary workaround, restrict the import of bookmark data from untrusted sources to minimize the risk of exploitation.

Exploit

Fix

RCE

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2018-1454
CVE-2018-7889
MGASA-2018-0399

Affected Products

Alt Linux
Calibre