CVE-2020-16122 Packagekit's apt backend lets user install untrusted local packages

High 8.2 Published Updated

PackageKit's apt backend incorrectly trusts local packages, allowing users to install malicious software and escalate privileges if PolicyKit rules are configured.

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

What is CVE-2020-16122?

CVE-2020-16122 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 7 Nov 2020. 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

PackageKit's apt backend mistakenly treated all local debs as trusted. The apt security model is based on repository trust and not on the contents of individual files. On sites with configured PolicyKit rules this may allow users to install malicious packages.

Weakness: CWE-345, CWE-269

Which versions are affected by CVE-2020-16122?

It affects 2 products.

Products include Canonical Ubuntu Linux, Packagekit Project Packagekit.

How do I fix CVE-2020-16122?

Apply the vendor's patch.

Is CVE-2020-16122 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-16122, GHSA-jfj4-x686-g8vv, UBUNTU-CVE-2020-16122.

Is CVE-2020-16122 in your software?

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

Check your SBOMs for free