Repository navigation
5.3.13
Release Notes for 5.3.13
5.3.x bugfix release (patch)
Security
This release fixes ten advisories:
- GHSA-3chw-82qh-p72w:
RequestBodyUserEntityGuesserreturned the stored entity of an existing account. The creation options issued for another username could be redeemed at a creation controller to register a passkey on that account. - GHSA-4485-9q39-m27g:
WebauthnPassportusers were loaded from the chain of all user providers instead of the provider of the firewall. With several providers, a custom authenticator could sign a visitor in as another account known under the same username. - GHSA-c9p6-r72h-rp3x: x5c entries that contained PEM text were not encoded from DER, and pki-framework and OpenSSL read such text differently. A packed or TPM attestation signed with a software key could be recorded as an attestation of a genuine authenticator model, and a
file://entry could block a PHP worker during the deserialization of a fido-u2f attestation. - GHSA-rxc4-cg58-jrpw:
StringStream::read()allocated the length declared by the CBOR data before checking the bytes left. A few bytes in an anonymous assertion response exhausted the memory of the request. - GHSA-2jv3-c2vg-rhc4:
CheckMetadataStatementskipped the status reports, the certificate chain and the attestation type under the null AAGUID. A self-made packed, fido-u2f or apple attestation was recorded as basic or anonca. - GHSA-473f-pfcw-p4h2: the default client override policy let the client ask for the
noneattestation conveyance against a creation profile that requests attestation, which skipped the metadata checks. - GHSA-8gvp-8vj9-p3q7 (follow-up of 5.3.10): the decoys of
SimpleFakeCredentialGeneratorcould still be told apart from registered credentials by the length of their ID, their transports and the case of the username. - GHSA-p8cj-mmjr-5c2m:
CheckMetadataStatementread only the last status report of an authenticator model, andREVOKEDwas not treated as compromised. - GHSA-p653-gg6c-rrjw (completion of the 5.3.10 fix): the x5c header of the FIDO metadata BLOB was read differently for the signature and for the certificate chain.
- GHSA-g9ff-w9h6-7ff3: the stored ceremony options were not bound to the endpoint that issued them. A challenge issued where user verification is preferred could be redeemed where it is required.
Backward compatibility breaks
RequestBodyUserEntityGuessernever returns the entity of an existing account (GHSA-3chw-82qh-p72w). A creation controller that used it to add a credential to an existing account named in the request body now stores the credential under a new user handle: identify the account withCurrentUserEntityGuesser, or with a guesser bound to a route behind an access control. A user entity repository that does not implementCanGenerateUserEntitynow gets aMissingUserEntityExceptionfor an existing username as well.noneis no longer in the default allowed values ofclient_override_policy.attestation_conveyance(GHSA-473f-pfcw-p4h2). A client that asks for it gets the conveyance of the profile. To let the client waive the attestation, listnoneinallowed_values, and do not rely on the attestation of the resulting credential records.- When attestation is requested and the metadata statement support is enabled, FIDO U2F security keys and Apple anonymous attestations, which report the null AAGUID, are refused unless the Metadata Statement Repository returns, for
00000000-0000-0000-0000-000000000000, a statement whose attestation root certificates include their roots (GHSA-2jv3-c2vg-rhc4). - With the metadata support enabled and an attestation requested, an authenticator model is refused when any of its status reports is a security notification status or
REVOKED, even when a later report follows it (GHSA-p8cj-mmjr-5c2m). To admit such a model, leave that report out of what yourStatusReportRepositoryreturns. CertificateToolbox::convertDERToPEM()andCertificateToolbox::convertAllDERToPEM()always treat their input as DER. PEM input is no longer returned unchanged (GHSA-c9p6-r72h-rp3x).
Other behavior changes
- The options endpoints of a firewall and of the
controllerssection stamp the stored options with their scope, and the matching result endpoints refuse options issued under another scope (GHSA-g9ff-w9h6-7ff3). Options stored without scope by application code keep the previous behavior. - On a firewall with
login_throttling,WebauthnPassportattempts are now counted, per host and IP address (GHSA-4485-9q39-m27g). - The cache key prefix of the fake credentials changes, so the decoy lists cached by previous versions are generated again (GHSA-8gvp-8vj9-p3q7). The decoy shapes can be replaced with
FakeCredentialShapeobjects, and an optionalUsernameNormalizerservice gives the canonical form of the username before it seeds the decoys.
5.3.13
- Total issues resolved: 0
- Total pull requests resolved: 0
- Total contributors: 0
Published @web-auth/webauthn-stimulus to NPM: https://www.npmjs.com/package/@web-auth/webauthn-stimulus/v/5.3.13