CVEfocus › CVE database › CVE-2020-16122

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

CVSS 8.2 HighEPSS 0.3% (higher than 20% of CVEs)Published 2020-11-07Updated 2024-09-16Assigner: canonical

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.

CWE-269

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
1Fix pending
32Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04packagekitFixed1.1.13-2ubuntu1.1UBUNTU-CVE-2020-16122
Ubuntu 18.04packagekitFixed1.1.9-1ubuntu2.18.04.6UBUNTU-CVE-2020-16122
Ubuntu 16.04packagekitFixed0.8.17-4ubuntu6~gcc5.4ubuntu1.5UBUNTU-CVE-2020-16122
Ubuntu 14.04packagekitFix pending
Debian 14packagekitFixed1.2.1-1DEBIAN-CVE-2020-16122
Debian 13packagekitFixed1.2.1-1DEBIAN-CVE-2020-16122
Debian 12packagekitFixed1.2.1-1DEBIAN-CVE-2020-16122
Red Hat Enterprise Linux 8PackageKitNot affected
Red Hat Enterprise Linux 8PackageKit-command-not-foundNot affected
Red Hat Enterprise Linux 8PackageKit-cronNot affected
Red Hat Enterprise Linux 8PackageKit-glibNot affected
Red Hat Enterprise Linux 8PackageKit-glib-develNot affected
Red Hat Enterprise Linux 8PackageKit-gstreamer-pluginNot affected
Red Hat Enterprise Linux 8PackageKit-gtk3-moduleNot affected
Red Hat Enterprise Linux 7PackageKitNot affected
Red Hat Enterprise Linux 7PackageKit-command-not-foundNot affected
Red Hat Enterprise Linux 7PackageKit-cronNot affected
Red Hat Enterprise Linux 7PackageKit-glibNot affected
Red Hat Enterprise Linux 7PackageKit-glib-develNot affected
Red Hat Enterprise Linux 7PackageKit-gstreamer-pluginNot affected
Red Hat Enterprise Linux 7PackageKit-gtk3-moduleNot affected
Red Hat Enterprise Linux 7PackageKit-yumNot affected
Red Hat Enterprise Linux 7PackageKit-yum-pluginNot affected
Red Hat Enterprise Linux 6PackageKitNot affected
Red Hat Enterprise Linux 6PackageKit-backend-develNot affected
Red Hat Enterprise Linux 6PackageKit-browser-pluginNot affected
Red Hat Enterprise Linux 6PackageKit-command-not-foundNot affected
Red Hat Enterprise Linux 6PackageKit-cronNot affected
Red Hat Enterprise Linux 6PackageKit-debug-installNot affected
Red Hat Enterprise Linux 6PackageKit-device-rebindNot affected
Red Hat Enterprise Linux 6PackageKit-docsNot affected
Red Hat Enterprise Linux 6PackageKit-glibNot affected
Red Hat Enterprise Linux 6PackageKit-glib-develNot affected
Red Hat Enterprise Linux 6PackageKit-gstreamer-pluginNot affected
Red Hat Enterprise Linux 6PackageKit-gtk-moduleNot affected
Red Hat Enterprise Linux 6PackageKit-qtNot affected
Red Hat Enterprise Linux 6PackageKit-qt-develNot affected
Red Hat Enterprise Linux 6PackageKit-yumNot affected
Red Hat Enterprise Linux 6PackageKit-yum-pluginNot affected

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.