CVE-2021-31924
mediumpriority · track · 27EPSS 0.003 · 26 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- https://developers.yubico.com/pam-u2f/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CRBVOZEMVO72FV4Z5O4GBGSURXHWRGD3/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IL3I5AKECLMK4ADLLACLOEF7H5CMNDP2/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-31924cnnvd
- https://packetstormsecurity.com/files/168034/Gentoo-Linux-Security-Advisory-202208-11.htmlcnnvd
- https://security.gentoo.org/glsa/202208-11cnnvd
- https://vigilance.fr/vulnerability/Yubico-pam-u2f-user-access-via-Local-PIN-Bypass-37061cnnvd
- https://www.yubico.com/support/security-advisories/ysa-2021-03cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan