GHSA-v9hx-v6vf-g36j

Suggest an improvement
Source
https://github.com/advisories/GHSA-v9hx-v6vf-g36j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-v9hx-v6vf-g36j/GHSA-v9hx-v6vf-g36j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v9hx-v6vf-g36j
Aliases
Published
2023-10-17T13:23:20Z
Modified
2024-02-16T07:57:03.874514Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
WebAuthn4J Spring Security Improper signature counter value handling
Details

Improper signature counter value handling

Impact

A flaw was found in webauthn4j-spring-security-core. When an authneticator returns an incremented signature counter value during authentication, webauthn4j-spring-security-core does not properly persist the value, which means cloned authenticator detection does not work. An attacker who cloned valid authenticator in some way can use the cloned authenticator without being detected.

Patches

Please upgrade to com.webauthn4j:webauthn4j-spring-security-core:0.9.1.RELEASE

References

For more details about WebAuthn signature counters, see WebAuthn specification 6.1.1. Signature Counter Considerations.

Reporter

This issue was discovered by Michael Budnick (@mbudnick)

Database specific
{
    "nvd_published_at": "2023-10-16T19:15:11Z",
    "cwe_ids": [
        "CWE-287"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-10-17T13:23:20Z"
}
References

Affected packages

Maven / com.webauthn4j:webauthn4j-spring-security-core

Package

Name
com.webauthn4j:webauthn4j-spring-security-core
View open source insights on deps.dev
Purl
pkg:maven/com.webauthn4j/webauthn4j-spring-security-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.1.RELEASE

Affected versions

0.*

0.7.0.RELEASE
0.7.1.RELEASE
0.7.2.RELEASE
0.7.3.RELEASE
0.7.4.RELEASE
0.7.5.RELEASE
0.7.6.RELEASE
0.8.0.RELEASE
0.9.0.RELEASE