CVE-2024-39912
published medium CVSS 3.1 · 5.3Enumeration of valid usernames in web-auth/webauthn-lib
Package status and fixes
Description
web-auth/webauthn-lib is an open source set of PHP libraries and a Symfony bundle to allow developers to integrate that authentication mechanism into their web applications. The ProfileBasedRequestOptionsBuilder method returns allowedCredentials without any credentials if no username was found. When WebAuthn is used as the first or only authentication method, an attacker can enumerate usernames based on the absence of the `allowedCredentials` property in the assertion options response. This allows enumeration of valid or invalid usernames. By knowing which usernames are valid, attackers can focus their efforts on a smaller set of potential targets, increasing the efficiency and likelihood of successful attacks. This issue has been addressed in version 4.9.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| web-auth | webauthn-framework | >= 4.5.0, < 4.9.0 (affected) | GitHub_M · cna |
| spomky-labs | webauthn_framwork | 4.5.0 to < 4.9.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-204 CWE-204: Observable Response Discrepancy
References
2Provider assertions
3GitHub_M · cna
Enumeration of valid usernames in web-auth/webauthn-lib
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7aa9817ba83e1c36042f8605d44d09289e602351887e44e8f36897bcc9576d53
- Ingested
- 23 Sep 2026, 08:25:18 UTC
- Source record
- Official CVE record