Bug 2418904 (CVE-2025-65945)

Summary: CVE-2025-65945 node-jws: auth0/node-jws: Improper signature verification in HS256 algorithm
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abarbaro, abuckta, alizardo, anthomas, bbrownin, bdettelb, csutherl, dkuc, doconnor, dsoumis, ehelms, eric.wittmann, ggainey, gmalinko, janstey, jchui, jclere, jhe, jkoehler, juwatts, ktsao, lball, lphiri, manissin, mhulan, nboldt, ngough, nipatil, nmoumoul, orabin, osousa, pantinor, pcreech, pdelbell, pjindal, plodge, psrna, rchan, rkubis, rmaucher, rstepani, sdawley, smallamp, szappis, teagle, tmalecek, veshanka
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in auth0/node-jws. This vulnerability allows improper signature verification via using the HS256 (Hash-based Message Authentication Code using SHA-256) algorithm under specific conditions, where applications use the jws.createVerify() function for HMAC (Keyed-Hash Message Authentication Code) algorithms and user-provided data from the JSON (JavaScript Object Notation) Web Signature protected header or payload in HMAC secret lookup routines.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-12-04 19:01:38 UTC
auth0/node-jws is a JSON Web Signature implementation for Node.js. In versions 3.2.2 and earlier and version 4.0.0, auth0/node-jws has an improper signature verification vulnerability when using the HS256 algorithm under specific conditions. Applications are affected when they use the jws.createVerify() function for HMAC algorithms and use user-provided data from the JSON Web Signature protected header or payload in HMAC secret lookup routines, which can allow attackers to bypass signature verification. This issue has been patched in versions 3.2.3 and 4.0.1.

Comment 2 Jean-frederic Clere 2025-12-16 09:17:16 UTC
Just a note that JWS here has nothing to do with JWS/Tomcat, it is a npm package that use JSON Web Signatures.