CVE-2018-7889 Deserialization in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening a crafted bookmark file in Calibre.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-7889?

CVE-2018-7889 is a high-severity unsafe deserialization vulnerability in n/a, published on 8 Mar 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-502

Which versions are affected by CVE-2018-7889?

It affects 1 product.

Products include Calibre-Ebook Calibre.

How do I fix CVE-2018-7889?

Upgrade to a fixed version.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2018-7889 being exploited?

There is no known exploitation of CVE-2018-7889 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-7889, GHSA-7hmv-6p8v-7rmw, MGASA-2018-0399, UBUNTU-CVE-2018-7889.

Is CVE-2018-7889 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free