Skip to content

Commit a4fc90f

Browse files
authored
Update Nimbus, Fixes AB#3328426 (#2724)
### Summary [AB#3328426](https://identitydivision.visualstudio.com/Engineering/_workitems/edit/3328426) Updating the Nimbus Jose + JWT version to 10.0.2 due to CVE: [Nimbus JOSE + JWT is vulnerable to DoS attacks when processing deeply nested JSON · CVE-2025-53864 · GitHub Advisory Database](GHSA-xwmg-2g98-w7v9) I had to change two instances where an internal dependency of Nimbus was being used for modifiers (I believe said dependency is the one under the CVE); those have been changed to using javax, which is what's being used for most of the related modifiers in the codebase. Ran the pipeline successfully on my branches: https://identitydivision.visualstudio.com/Engineering/_build/results?buildId=1514283&view=results AuthApp: currently on 10.2.0. CP: Notified, and they said they will update the version. CP built successfully on the pipeline. LTW: Notified, and they moved to 10.0.2. OneAuth: Notified; their test app built successfully on the pipeline.
1 parent f203668 commit a4fc90f

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ vNext
1010
- [MINOR] Update IP phone app teams signature constants to use SHA-512 format (#2700)
1111
- [MINOR] Using Baggage to propagate attributes from parent Span (#2671)
1212
- [PATCH] Fix a few small switch browser bugs (#2710)
13+
- [MINOR] Update Nimbus version (#2724)
1314
- [MINOR] Using tenant based flighting for webcp (#2723)
1415

1516
Version 21.4.0

common/src/main/java/com/microsoft/identity/common/internal/authorities/AzureActiveDirectoryAudienceDeserializer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
import com.microsoft.identity.common.java.authorities.AzureActiveDirectoryAudience;
3535
import com.microsoft.identity.common.logging.Logger;
3636

37-
import net.jcip.annotations.Immutable;
38-
3937
import java.lang.reflect.Type;
4038

39+
import javax.annotation.concurrent.Immutable;
40+
4141
@Immutable
4242
public class AzureActiveDirectoryAudienceDeserializer implements JsonDeserializer<AzureActiveDirectoryAudience> {
4343

common/src/main/java/com/microsoft/identity/common/internal/ui/webview/certbasedauth/DialogHolder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929

3030
import com.microsoft.identity.common.R;
3131

32-
import net.jcip.annotations.ThreadSafe;
33-
3432
import java.util.List;
3533

34+
import javax.annotation.concurrent.ThreadSafe;
35+
3636
/**
3737
* Builds and shows SmartcardDialog instances while keeping track of the current dialog being shown to the user.
3838
*/

gradle/versions.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ext {
3838
mockitoCoreVersion = "5.11.0"
3939
mockitoAndroidVersion = "5.11.0"
4040
multidexVersion = "2.0.1"
41-
nimbusVersion = "9.37.3"
41+
nimbusVersion = "10.0.2"
4242
powerMockVersion = "2.0.9"
4343
runnerVersion = "1.2.0"
4444
rulesVersion = "1.2.0"

0 commit comments

Comments
 (0)