Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. web-auth/webauthn-lib
  4. ›
  5. CVE-2024-39912

CVE-2024-39912: The FIDO2/Webauthn Support for PHP library allows enumeration of valid usernames

July 15, 2024

The ProfileBasedRequestOptionsBuilder method returns allowedCredentials without any credentials if no username was found.

References

  • github.com/advisories/GHSA-875x-g8p7-5w27
  • github.com/web-auth/webauthn-framework
  • github.com/web-auth/webauthn-framework/commit/a9d1352897fba552e659e1445a771dec2d4ed05a
  • github.com/web-auth/webauthn-framework/security/advisories/GHSA-875x-g8p7-5w27
  • github.com/web-auth/webauthn-lib/commit/b6798de27cdedd8681fe4c9b13ace0ff2456d18b
  • nvd.nist.gov/vuln/detail/CVE-2024-39912

Code Behaviors & Features

Detect and mitigate CVE-2024-39912 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.5.0 before 4.9.0

Fixed versions

  • 4.9.0

Solution

Upgrade to version 4.9.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-204: Observable Response Discrepancy

Source file

packagist/web-auth/webauthn-lib/CVE-2024-39912.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:34 +0000.