File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn/data Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
* `com.upokecenter:cbor` dependency bumped to minimum version 4.5.1 due to a
6
6
known vulnerability, see: https://github.com/advisories/GHSA-fj2w-wfgv-mwq6
7
+ * Fixed crash in `AuthenticatorData` deserialization with `com.upokecenter:cbor`
8
+ versions later than 4.0.1
7
9
8
10
9
11
== Version 1.12.1 ==
Original file line number Diff line number Diff line change 25
25
package com .yubico .webauthn .data ;
26
26
27
27
import com .fasterxml .jackson .annotation .JsonCreator ;
28
+ import com .fasterxml .jackson .annotation .JsonIgnore ;
28
29
import com .fasterxml .jackson .annotation .JsonProperty ;
29
30
import com .fasterxml .jackson .core .JsonGenerator ;
30
31
import com .fasterxml .jackson .databind .SerializerProvider ;
@@ -81,9 +82,9 @@ public class AuthenticatorData {
81
82
*
82
83
* @see #flags
83
84
*/
84
- private final transient AttestedCredentialData attestedCredentialData ;
85
+ @ JsonIgnore private final transient AttestedCredentialData attestedCredentialData ;
85
86
86
- private final transient CBORObject extensions ;
87
+ @ JsonIgnore private final transient CBORObject extensions ;
87
88
88
89
private static final int RP_ID_HASH_INDEX = 0 ;
89
90
private static final int RP_ID_HASH_END = RP_ID_HASH_INDEX + 32 ;
You can’t perform that action at this time.
0 commit comments