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
GitHub
3.9
CVSS SCORE
7.5high| Package | Type | OS Name | OS Version | Affected Ranges | Fix Versions |
|---|---|---|---|---|---|
| jws | npm | - | - | =4.0.0 | 4.0.1 |
| jws | npm | - | - | <3.2.3 | 3.2.3 |
CVSS:3 Severity and metrics
The CVSS metrics represent different qualitative aspects of a vulnerability that impact the overall score, as defined by the CVSS Specification.
The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology. This can mean an attack must be launched from the same shared physical (e.g., Bluetooth or IEEE 802.11) or logical (e.g., local IP subnet) network, or from within a secure or otherwise limited administrative domain (e.g., MPLS, secure VPN to an administrative network zone). One example of an Adjacent attack would be an ARP (IPv4) or neighbor discovery (IPv6) flood leading to a denial of service on the local LAN segment (e.g., CVE-2013-6014).
Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.
The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.
The vulnerable system can be exploited without interaction from any user.
An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.
There is no loss of confidentiality.
There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any or all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.
There is no impact to availability within the impacted component.
NIST
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
-