Description (CNA)
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, src/log.c contains a process-wide static pointer that is written on every PAM invocation with the address of a stack-local variable. This violates the PAM re-entrancy requirement and creates a data race when the PAM stack is invoked concurrently from multiple threads. This vulnerability is fixed in 0.9.1.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| mcdope / pam_usb | affected < 0.9.1 |
CWE
CWE-362, CWE-476
References
- https://github.com/mcdope/pam_usb/security/advisories/GHSA-qg76-57wq-mpv6
- https://github.com/mcdope/pam_usb/issues/350
- https://github.com/mcdope/pam_usb/issues/55
ADP enrichment
No English description supplied.
No references supplied.