| Name | CVE-2022-23220 | 
| Description | 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DSA-5052-1 | 
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|---|---|---|
| usbview (PTS) | bullseye (security), bullseye | 2.0-21-g6fe2f4f-2+deb11u1 | fixed | 
| bookworm | 3.0-3 | fixed | |
| trixie | 3.1-2 | fixed | |
| forky, sid | 3.1-3 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|---|---|---|---|---|---|
| usbview | source | stretch | (not affected) | |||
| usbview | source | buster | 2.0-21-g6fe2f4f-2+deb10u1 | DSA-5052-1 | ||
| usbview | source | bullseye | 2.0-21-g6fe2f4f-2+deb11u1 | DSA-5052-1 | ||
| usbview | source | (unstable) | 2.0-21-g6fe2f4f-2.1 | 
[stretch] - usbview <not-affected> (Vulnerable code introduced later)
https://www.openwall.com/lists/oss-security/2022/01/21/1
Introduced by: https://github.com/gregkh/usbview/commit/ddefeba3f67d6a6f394eb57352254c1c8a312671 (v2.1)
Fixed by: https://github.com/gregkh/usbview/commit/bf374fa4e5b9a756789dfd88efa93806a395463b (v2.2)
Hardening: https://github.com/gregkh/usbview/commit/1282782301570b3ee27f82f4f34c2c1a82bfd91a (v2.2)