# CVE-2021-31924: 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…

- Severity: Medium 6.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2021-05-25T23:40:11.000Z
- Modified: 2026-06-17T03:52:30.123Z
- Weaknesses: CWE-287
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- yubico pam-u2f: before 1.1.1
- fedoraproject fedora: 34; 35

## Every score

- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.yubico.com/support/security-advisories/ysa-2021-03> (vendor-advisory)
- <https://developers.yubico.com/pam-u2f/> (product, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CRBVOZEMVO72FV4Z5O4GBGSURXHWRGD3/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IL3I5AKECLMK4ADLLACLOEF7H5CMNDP2/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202208-11> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-31924](https://www.cve.org/CVERecord?id=CVE-2021-31924), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31924](https://nvd.nist.gov/vuln/detail/CVE-2021-31924), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31924 · Whole record: https://cve.day/CVE-2021-31924.json · Rebuilt by cve.day 2026-11-25T22:58:01.533Z
