Skip to content

5.3.18

Latest

Choose a tag to compare

@Spomky Spomky released this 04 Dec 10:22
· 150 commits to 5.4.x since this release
5.3.18
6746c0a

Release Notes for 5.3.18

5.3.x bugfix release (patch)

Security

This release fixes three advisories:

  • GHSA-27jj-799j-9253: a registration through a webauthn firewall, or through a WebauthnPassport that allows registration, decided that a username was free by asking the user entity repository only, then signed the visitor in as the user that the user provider returned for that username. When the provider knew an account the repository did not know, or compared usernames more loosely, a visitor who registered that username was signed in as the existing account.
  • GHSA-xj53-6vp8-fg9v: CurrentUserEntityGuesser found the user entity of a passkey registration from the identifier of the signed-in user only. A user signed in through another user provider, with the same identifier as a passkey account, could register a passkey on that account.
  • GHSA-3m9m-888v-4275 (5.3.14 to 5.3.17): the packed, tpm, android-key and apple attestation statement supports accepted an x5c sent as a CBOR map. The statement support and the certificate chain validation then read different certificates, and an attestation signed with a software key could be recorded as an attestation of a genuine authenticator model.

These advisories were reported by Anthropic's OSS Scanner.

Backward compatibility breaks

  • A registration through the firewall, or through a WebauthnPassport that allows registration, is refused with "The username already exists" when the user provider of the firewall (or the user loader of the badge) already returns a user for the requested username, even if the user entity repository reports it free (GHSA-27jj-799j-9253). To give its first passkey to an existing account, authenticate its owner first and use a creation controller. A user provider must throw UserNotFoundException for a username that has no account yet.
  • CurrentUserEntityGuesser refuses a user signed in through a user provider other than the one passkeys sign in with when the passkey provider loads, for the same identifier, an account of an unrelated class or with other roles or another password (GHSA-xj53-6vp8-fg9v). Applications with a single user provider, and users signed in through the provider their passkeys use, are not affected. Applications where one person exists in two providers must implement EquatableInterface on the signed-in user class so that it recognises its counterpart, or use their own UserEntityGuesser.

Other behavior changes

  • An attestation statement whose x5c is not a list is refused, and CertificateTrustPath keeps its certificates as a list (GHSA-3m9m-888v-4275). Relying parties that depend on attestation should review the credentials registered with 5.3.14 to 5.3.17 whose stored trust path is not a list.
  • The Stimulus bundle maps its assets again with Symfony 8.2, where AssetMapper is configured by its own bundle (#1036).

5.3.18

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

DX,bug

Published @web-auth/webauthn-stimulus to NPM: https://www.npmjs.com/package/@web-auth/webauthn-stimulus/v/5.3.18