CVE-2022-23220
USBView 2.1 before 2.2 allows some local users (e.g., ones logged in via SSH) to execute arbitrary code as root because certain Polkit settings (e.g., allow_any=yes) for pkexec disable the authentication requirement. Code execution can, for example, use the --gtk-module option. This affects Ubuntu, Debian, and Gentoo.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | usbview | Fixed | 2.0-21-g6fe2f4f-2ubuntu1 | UBUNTU-CVE-2022-23220 |
| Ubuntu 20.04 | usbview | Fixed | 2.0-21-g6fe2f4f-2ubuntu0.20.04.1 | UBUNTU-CVE-2022-23220 |
| Ubuntu 18.04 | usbview | Fixed | 2.0-21-g6fe2f4f-1ubuntu1.1 | UBUNTU-CVE-2022-23220 |
| Debian 14 | usbview | Fixed | 2.0-21-g6fe2f4f-2.1 | DEBIAN-CVE-2022-23220 |
| Debian 13 | usbview | Fixed | 2.0-21-g6fe2f4f-2.1 | DEBIAN-CVE-2022-23220 |
| Debian 12 | usbview | Fixed | 2.0-21-g6fe2f4f-2.1 | DEBIAN-CVE-2022-23220 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2022/dsa-5052 (vendor-advisory)
- https://security.gentoo.org/glsa/202310-15 (vendor-advisory)
References
- https://github.com/gregkh/usbview/commit/bf374fa4e5b9a756789dfd88efa93806a395463b
- https://www.openwall.com/lists/oss-security/2022/01/21/1
- https://www.debian.org/security/2022/dsa-5052
- http://www.openwall.com/lists/oss-security/2022/01/22/1
- https://security.gentoo.org/glsa/202310-15
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.