Debian Security Advisory

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

Date Reported:
07 Dec 2022
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2022-21704.
More information:

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:

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