Debian dla-3229 : node-log4js - 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.

- ----------------------------------------------------------------------- Debian LTS Advisory DLA-3229-1 [email protected] https://www.debian.org/lts/security/ Utkarsh Gupta December 07, 2022 https://wiki.debian.org/LTS
- -----------------------------------------------------------------------

Package : node-log4js Version : 4.0.2-2+deb10u1 CVE ID : CVE-2022-21704

In node-log4js, a port of log4js in Node.js, default file permissions for log files created by the file, fileSync, and dateFile appenders are world-readable. 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.

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

We recommend that you upgrade your node-log4js packages.

For the detailed security status of node-log4js please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/node-log4js

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

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.

See Also

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

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.3

Type: local

Agent: unix

Published: 12/7/2022

Updated: 1/22/2025

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