Debian DLA-3669-1 : cryptojs - LTS security update

critical Nessus Plugin ID 186304

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has a package installed that is affected by a vulnerability as referenced in the dla-3669 advisory.

- crypto-js is a JavaScript library of crypto standards. Prior to version 4.2.0, crypto-js PBKDF2 is 1,000 times weaker than originally specified in 1993, and at least 1,300,000 times weaker than current industry standard. This is because it both defaults to SHA1, a cryptographic hash algorithm considered insecure since at least 2005, and defaults to one single iteration, a 'strength' or 'difficulty' value specified at 1,000 when specified in 1993. PBKDF2 relies on iteration count as a countermeasure to preimage and collision attacks. If used to protect passwords, the impact is high. If used to generate signatures, the impact is high. Version 4.2.0 contains a patch for this issue. As a workaround, configure crypto-js to use SHA256 with at least 250,000 iterations. (CVE-2023-46233)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the cryptojs packages.

For Debian 10 buster, this problem has been fixed in version 3.1.2+dfsg-2+deb10u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055525

https://security-tracker.debian.org/tracker/source-package/cryptojs

https://www.debian.org/lts/security/2023/dla-3669

https://security-tracker.debian.org/tracker/CVE-2023-46233

https://packages.debian.org/source/buster/cryptojs

Plugin Details

Severity: Critical

ID: 186304

File Name: debian_DLA-3669.nasl

Version: 1.0

Type: local

Agent: unix

Published: 11/27/2023

Updated: 11/27/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2023-46233

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libjs-cryptojs, cpe:/o:debian:debian_linux:10.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 11/27/2023

Vulnerability Publication Date: 10/25/2023

Reference Information

CVE: CVE-2023-46233