Debian DLA-3229-1 : node-log4js - LTS security update

medium Nessus Plugin ID 168447

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-3229 advisory.

- log4js-node is a port of log4js to node.js. In affected versions default file permissions for log files created by the file, fileSync and dateFile appenders are world-readable (in unix). This could cause problems if log files contain sensitive information. This would affect any users that have not supplied their own permissions for the files via the mode parameter in the config. Users are advised to update.
(CVE-2022-21704)

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 node-log4js packages.

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

See Also

https://security-tracker.debian.org/tracker/source-package/node-log4js

https://www.debian.org/lts/security/2022/dla-3229

https://security-tracker.debian.org/tracker/CVE-2022-21704

https://packages.debian.org/source/buster/node-log4js

Plugin Details

Severity: Medium

ID: 168447

File Name: debian_DLA-3229.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/7/2022

Updated: 12/7/2022

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

CVSS Score Source: CVE-2022-21704

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:node-log4js

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/7/2022

Vulnerability Publication Date: 1/19/2022

Reference Information

CVE: CVE-2022-21704