Advisory

DEBIAN-CVE-2022-21704

Also known as: CVE-2022-21704

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2022-01-19 23:15 UTC
Modified
2026-11-18 06:02 UTC

Affected packages and fixes

node-log4js

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 6.4.1+~cs8.3.5-1 (ecosystem)

Fixed versions

6.4.1+~cs8.3.5-1

Fix

  • Fixed version 6.4.1+~cs8.3.5-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-log4js

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 6.4.1+~cs8.3.5-1 (ecosystem)

Fixed versions

6.4.1+~cs8.3.5-1

Fix

  • Fixed version 6.4.1+~cs8.3.5-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-log4js

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 6.4.1+~cs8.3.5-1 (ecosystem)

Fixed versions

6.4.1+~cs8.3.5-1

Fix

  • Fixed version 6.4.1+~cs8.3.5-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences