Intel

AIKIDO-2024-10270

@noble/ciphers is vulnerable to Improperly Implemented Security Check for Standard

Improperly Implemented Security Check for Standard Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 16, 2024

10

Low Risk

This Affects:

js@noble/ciphers
0.4.0 - 0.6.0
Fixed in 1.0.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package accept fewer than the 8 bytes prescribed by OpenSSL for creating AES-GCM nonces. This improper nonce length could weaken the encryption and make it vulnerable to attacks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@noble/ciphers is vulnerable to Improperly Implemented Security Check for Standard in versions 0.4.0 - 0.6.0.

How to fix this

Upgrade the @noble/ciphers library to the patch version.