ADVISORIES

Vulnerability

CVE-2022-21704

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.

5 advisories report this vulnerability, across 4 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2022-21704

    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…

    CVE-2022-21704 Debian Updated 20 November 2026
  • DLA-3229-1

    node-log4js - security update

    CVE-2022-21704 Debian Updated 20 November 2026

References