fix(deps): bump web-auth/webauthn-lib from 4.9.2 to v5 - autoclosed#950
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
fix(deps): bump web-auth/webauthn-lib from 4.9.2 to v5 - autoclosed#950renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Contributor
Author
|
|
@ChristophWurst Do you know why it was autoclosed? 🤔 |
|
@ChristophWurst The server uses the library as well. So, I think it makes more sense to make the shift to the latest version on both repositories together. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.9.2→^5.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Webauthn Framework: allowed_origins collapses URL-like origins to host-only values, bypassing exact origin validation
CVE-2026-30964 / GHSA-f7pm-6hr8-7ggm
More information
Details
Summary
When
allowed_originsis configured,CheckAllowedOriginsreduces URL-like values to theirhostand accepts on host match. This makes exact origin policies impossible to express: scheme and port differences are lost for URL-like entries.Details
CheckAllowedOriginsstores each configured allowed origin as:parse_url($allowedOrigin)['host'] ?? $allowedOriginand later reduces the received
clientDataJSON.originthe same way:parse_url($C->origin)['host'] ?? $C->originIf the reduced value matches, the method returns early. As a result, for the normal
allowed_originspath, the later HTTPS check is not reached.This differs from WebAuthn Level 2, which requires verifying that
C.originmatches the RP’s origin, separately from verifying thatauthData.rpIdHashmatches the expected RP ID.Code:
Spec:
PoC
Configuration:
Send a registration or authentication response whose
clientDataJSON.originis:Observed result:
the response is accepted by
CheckAllowedOrigins, because both values are reduced tologin.example.com.Expected result:
the response should be rejected, because
https://login.example.com:8443andhttps://login.example.com:9443are different origins.Impact
This is an origin validation error affecting deployments that use
allowed_origins.It bypasses the separate exact-origin check required by WebAuthn. The most practical browser-facing example is same-host / different-port origin confusion. In non-browser or custom clients, scheme confusion for URL-like entries may also be relevant.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
web-auth/webauthn-lib (web-auth/webauthn-lib)
v5.2.4Compare Source
v5.2.3Compare Source
v5.2.2Compare Source
v5.2.1Compare Source
v5.2.0Compare Source
v5.1.3Compare Source
v5.1.2Compare Source
v5.1.1Compare Source
v5.1.0Compare Source
v5.0.1Compare Source
v5.0.0Compare Source
v4.9.3Compare Source
Configuration
📅 Schedule: Branch creation - "before 7am every weekday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.