CVE-2018-7685 libzypp does not reevaluate malicious rpms once downloaded
Attackers can bypass RPM integrity checks by exploiting decoupled download and installation steps, allowing malicious packages to be installed without warnings.
- 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-7685?
CVE-2018-7685 is a high-severity vulnerability in SUSE libzypp, published on 31 Aug 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
The decoupled download and installation steps in libzypp before 17.5.0 could lead to a corrupted RPM being left in the cache, where a later call would not display the corrupted RPM warning and allow installation, a problem caused by malicious warnings only displayed during download.
Which versions are affected by CVE-2018-7685?
It affects 1 product.
Products include Opensuse Libzypp.
How do I fix CVE-2018-7685?
Upgrade to a fixed version.
Is CVE-2018-7685 being exploited?
There is no known exploitation of CVE-2018-7685 in the wild and no public exploit code.
Other vulnerabilities in SUSE libzypp
- CVE-2026-25707 Handcrafted repo metadata may cause arbitrary local files to be overwritten by libzypp
- CVE-2026-44941 libzypp path traversal via "keyhint" in repomd.xml
- CVE-2017-7435 libzypp accepts unsigned 3rd party repo without warning
- CVE-2017-7436 libzypp accepts unsigned packages even when configured to check signatures
- CVE-2017-9269 lack of keypinning in libzypp could lead to repository switching
Sources
Also known as DEBIAN-CVE-2018-7685, GHSA-mrf9-ghhp-cjff, UBUNTU-CVE-2018-7685.