CVEfocus › CVE database › CVE-2021-31924

CVE-2021-31924

CVSS 6.8 MediumEPSS 0.3% (higher than 19% of CVEs)Published 2021-05-25Updated 2024-08-03Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
2Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04pam-u2fNot affected
vulnerable_code_not_present
Ubuntu 22.04pam-u2fNot affected
vulnerable_code_not_present
Ubuntu 18.04pam-u2fFix pending
Ubuntu 16.04pam-u2fFix pending
Debian 14pam-u2fFixed1.1.0-1.1DEBIAN-CVE-2021-31924
Debian 13pam-u2fFixed1.1.0-1.1DEBIAN-CVE-2021-31924
Debian 12pam-u2fFixed1.1.0-1.1DEBIAN-CVE-2021-31924
Alpine Linux 3.24pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924
Alpine Linux 3.23pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924
Alpine Linux 3.22pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924
Alpine Linux 3.21pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924
Alpine Linux 3.20pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924
Alpine Linux 3.19pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924
Alpine Linux 3.18pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924
Alpine Linux 3.17pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924
Alpine Linux 3.16pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924
Alpine Linux 3.15pam-u2fFixed1.1.1-r0ALPINE-CVE-2021-31924

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.