web-auth/webauthn-lib is vulnerable to Improper Input Validation
37
CVE Score
Low
Improper Input Validation
Before the fix, WebauthnAuthenticationCollector accepted both webauthn.get and webauthn.create client data types in either ceremony, so a client submitting a registration response during authentication, or the reverse, passed the type check and the ceremony continued; with the "none" attestation format nothing signs the client data, leaving the type as the only distinguishing check. Any client able to submit WebAuthn responses to the relying party could do this, though challenge, origin and (for assertions) signature checks still applied. The fix derives the expected type from the ceremony's options and rejects every other type.
Upgrade the web-auth/webauthn-lib package to 5.3.11 or later.
You are affected if you are using a version that falls within the vulnerable range and verify WebAuthn attestation or assertion responses from clients that control the client data type field.
4.8.0 - 5.3.10
Fixed in 5.3.11web-auth/webauthn-lib is vulnerable to Improper Input Validation in versions 4.8.0 - 5.3.10.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.