CVE-2025-65945
ADVISORY - githubSummary
Overview
An improper signature verification vulnerability exists when using auth0/node-jws with the HS256 algorithm under specific conditions.
Am I Affected?
You are affected by this vulnerability if you meet all of the following preconditions:
- Application uses the auth0/node-jws implementation of JSON Web Signatures, versions <=3.2.2 || 4.0.0
- Application uses the jws.createVerify() function for HMAC algorithms
- Application uses user-provided data from the JSON Web Signature Protected Header or Payload in the HMAC secret lookup routines
You are NOT affected by this vulnerability if you meet any of the following preconditions:
- Application uses the jws.verify() interface (note:
auth0/node-jsonwebtokenusers fall into this category and are therefore NOT affected by this vulnerability) - Application uses only asymmetric algorithms (e.g. RS256)
- Application doesn’t use user-provided data from the JSON Web Signature Protected Header or Payload in the HMAC secret lookup routines
Fix
Upgrade auth0/node-jws version to version 3.2.3 or 4.0.1
Acknowledgement
Okta would like to thank Félix Charette for discovering this vulnerability.
Common Weakness Enumeration (CWE)
Improper Verification of Cryptographic Signature
Improper Verification of Cryptographic Signature
NIST
3.9
CVSS SCORE
7.5highGitHub
3.9
CVSS SCORE
7.5highChainguard
CGA-2chf-f76h-x9f5
-
Chainguard
CGA-4m2h-wf83-vvh8
-
Chainguard
CGA-75x9-f3f2-8645
-
Chainguard
CGA-7mh8-gqm8-q5r5
-
Chainguard
CGA-9h64-78j7-5wgj
-
Chainguard
CGA-g83m-35qf-q766
-
Chainguard
CGA-mch3-2x9v-hm6m
-
Chainguard
CGA-p26v-2rf8-h8mf
-
Chainguard
CGA-p4c6-jwvg-794w
-
Chainguard
CGA-pjqq-5fpj-5frj
-
Chainguard
CGA-qvqw-cm4h-vcc5
-
Chainguard
CGA-rfc5-qm88-p834
-
Chainguard
CGA-rx22-7fpv-pf8q
-
Chainguard
CGA-vvxv-8243-mvwm
-
Chainguard
CGA-wf4w-9cx6-853x
-
minimos
MINI-2p9x-vxfr-j53h
-
minimos
MINI-3qvc-v8m2-8cj3
-
minimos
MINI-434m-rw38-3vvw
-
minimos
MINI-52gv-52r4-2x4r
-
minimos
MINI-5h6q-33jw-9vcx
-
minimos
MINI-5q3f-gq44-c25g
-
minimos
MINI-c5xv-fvhm-4586
-
minimos
MINI-gw79-ccxg-m3hf
-
minimos
MINI-wf2m-gw8q-px4v
-