pam-u2f — security advisory
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.
- Products
- pam-u2f
- Affected versions
- Not specified
- Fixed versions
- 1.1.0-1.1
- CVEs
- CVE-2021-31924
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:43 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2021-31924
pam-u2f
Fixed versions: 1.1.0-1.1
pam-u2f
Fixed versions: 1.1.0-1.1
pam-u2f
Fixed versions: 1.1.0-1.1
Complete source record
{
"id": "5c5a1e2126b6393e902a9828db9e2d7dd71097272740f5d9e4f622602f675eb5",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-31924",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-31924",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2021-31924",
"products": [
{
"name": {
"value": "pam-u2f",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.1.0-1.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "pam-u2f",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.1.0-1.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "pam-u2f",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.1.0-1.1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2021-31924",
"aliases": [
"DEBIAN-CVE-2021-31924"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0-1.1"
}
]
}
],
"package": {
"name": "pam-u2f",
"purl": "pkg:deb/debian/pam-u2f?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-31924.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0-1.1"
}
]
}
],
"package": {
"name": "pam-u2f",
"purl": "pkg:deb/debian/pam-u2f?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-31924.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0-1.1"
}
]
}
],
"package": {
"name": "pam-u2f",
"purl": "pkg:deb/debian/pam-u2f?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-31924.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:37.970377439Z",
"provider": "osv",
"upstream": [
"CVE-2021-31924"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-31924"
]
},
"related_cves": [
{
"value": "CVE-2021-31924",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422068,
"published_at": "2021-05-26T00:15:08.49+00:00"
}