DescriptionYubico 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs987545

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pam-u2f (PTS)buster1.0.7-1+deb10u1fixed
bookworm, sid, bullseye1.1.0-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pam-u2fsourcestretch(not affected)
pam-u2fsourcebuster(not affected)


[buster] - pam-u2f <not-affected> (Vulnerable code not present)
[stretch] - pam-u2f <not-affected> (Vulnerable code not present) (pam_u2f-1.1.1)
Support for PIN verification introduced in 1.1.0.

Search for package or bug name: Reporting problems