#VU71181 Use of a broken or risky cryptographic algorithm in node-jsonwebtoken


Published: 2023-01-16

Vulnerability identifier: #VU71181

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-23541

CWE-ID: CWE-327

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
node-jsonwebtoken
Web applications / JS libraries

Vendor: Auth0

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to insecure implementation of key retrieval function. A remote user attacker can cause successful validation of forged tokens.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

node-jsonwebtoken: 8.0.0 - 8.5.1


External links
http://github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-hjrf-2m68-5959
http://github.com/auth0/node-jsonwebtoken/releases/tag/v9.0.0
http://github.com/auth0/node-jsonwebtoken/commit/e1fa9dcc12054a8681db4e6373da1b30cf7016e3


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability