Skip to content

fix(HNT-3493): upgrade jwks-rsa to 3.2.2 to drop vulnerable axios - #389

Closed
mmiermans wants to merge 3 commits into
mainfrom
mmiermans/HNT-3493-jwks-rsa-3
Closed

mmiermans wants to merge 3 commits into
mainfrom
mmiermans/HNT-3493-jwks-rsa-3

Conversation

@mmiermans

@mmiermans mmiermans commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Goal

Remove axios@0.21.4 (and its advisories) from admin-api's JWKS path by upgrading jwks-rsa 1.12.3 → 3.2.2.

  • getSigningKeyAsync → promise-based getSigningKey (the 2.x+ API)
  • npm audit fix for transitive advisories, including jws 3.2.3 (HMAC verification fix on the JWT path)
  • Production advisories: 47 → 26 (critical 4 → 1, high 25 → 13)

Implementation Decisions

Deployment steps

  • Confirm admin-api accepts curation tools and lambda JWTs after deploy

References

JIRA ticket:

@mmiermans

Copy link
Copy Markdown
Contributor Author

Superseded by #391, which upgrades jwks-rsa straight to 4.1.0 now that the stack moves admin-api to Node 24.

@mmiermans mmiermans closed this Dec 4, 2026
@mmiermans
mmiermans deleted the mmiermans/HNT-3493-jwks-rsa-3 branch December 4, 2026 00:57
@mmiermans
mmiermans restored the mmiermans/HNT-3493-jwks-rsa-3 branch December 4, 2026 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant