Description (CNA)
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, src/evdev.c silently ignores EACCES errors when opening /dev/input/event* nodes, causing pusb_has_virtual_input_device() to return 0 (no virtual devices found) even when every open() call failed due to insufficient permissions. The caller in src/local.c cannot distinguish a clean absence of virtual devices from a permission-denied scan, and acts on the false negative by continuing authentication without denying. This vulnerability is fixed in 0.9.1.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| mcdope / pam_usb | affected < 0.9.1 |
CWE
CWE-390, CWE-693
References
- https://github.com/mcdope/pam_usb/security/advisories/GHSA-pvrg-chgw-x42c
- https://github.com/mcdope/pam_usb/issues/351
- https://github.com/mcdope/pam_usb/issues/55
ADP enrichment
No English description supplied.
No references supplied.