Vulnerability · Published May 25, 2021 · Assigned by mitre
CVE-2021-31924
Medium 6.8
In plain English
A medium-severity security flaw in the pam-u2f package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Yubico pam-u2f before 1.1.1 has a logic issue that, depending on the pam-u2f configuration and the application used, could lead to a local PIN bypass. This issue does not allow user presence (touch) or cryptographic signature verification to be bypassed, so an attacker would still need to physically possess and interact with the YubiKey or another enrolled authenticator. If pam-u2f is configured to require PIN authentication, and the application using pam-u2f allows the user to submit NULL as the PIN, pam-u2f will attempt to perform a FIDO2 authentication without PIN. If this authentication is successful, the PIN requirement is bypassed.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | pam-u2f | 1.1.1-r0 | ALPINE-CVE-2021-31924 |
| Alpine:v3.21 | pam-u2f | 1.1.1-r0 | ALPINE-CVE-2021-31924 |
| Alpine:v3.22 | pam-u2f | 1.1.1-r0 | ALPINE-CVE-2021-31924 |
| Alpine:v3.23 | pam-u2f | 1.1.1-r0 | ALPINE-CVE-2021-31924 |
| Alpine:v3.24 | pam-u2f | 1.1.1-r0 | ALPINE-CVE-2021-31924 |
| Debian:12 | pam-u2f | 1.1.0-1.1 | DEBIAN-CVE-2021-31924 |
| Debian:13 | pam-u2f | 1.1.0-1.1 | DEBIAN-CVE-2021-31924 |
| Debian:14 | pam-u2f | 1.1.0-1.1 | DEBIAN-CVE-2021-31924 |
| Ubuntu:22.04:LTS | pam-u2f | no fix listed | UBUNTU-CVE-2021-31924 |
| Ubuntu:24.04:LTS | pam-u2f | no fix listed | UBUNTU-CVE-2021-31924 |
Affected products (as reported)
References
- https://www.yubico.com/support/security-advisories/ysa-2021-03 x_refsource_MISC
- https://developers.yubico.com/pam-u2f/ x_refsource_MISC
- FEDORA-2021-a52d48b1c2 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-724f4733e9 vendor-advisory, x_refsource_FEDORA
- GLSA-202208-11 vendor-advisory, x_refsource_GENTOO