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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-3229-1 node-log4js security update
EUVD EUVD EUVD-2022-0513 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.
Github GHSA Github GHSA GHSA-82v2-mx6x-wq7q Incorrect Default Permissions in log4js
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-23T19:10:12.838Z

Reserved: 2021-11-16T00:00:00.000Z

Link: CVE-2022-21704

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-01-19T23:15:08.177

Modified: 2024-11-21T06:45:16.303

Link: CVE-2022-21704

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.