CVE-2022-21704

Summary

CVECVE-2022-21704
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-19 23:15:00 UTC
Updated2023-02-03 19:16:00 UTC
Descriptionlog4js-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.

Risk And Classification

Problem Types: CWE-276

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Application Log4js Project Log4js All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 3229-1] node-log4js security update MLIST lists.debian.org
Changed default file modes from 0o644 to 0o600 for better security by peteriman · Pull Request #87 · log4js-node/streamroller · GitHub MISC github.com
Changed default file modes from 0o644 to 0o600 for better security by peteriman · Pull Request #1141 · log4js-node/log4js-node · GitHub MISC github.com
log4js-node/CHANGELOG.md at v6.4.0 · log4js-node/log4js-node · GitHub MISC github.com
Incorrect Default Permissions in log4js · Advisory · log4js-node/log4js-node · GitHub CONFIRM github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 181038 Debian Security Update for node-log4js (CVE-2022-21704)
  • 181301 Debian Security Update for node-log4js (DLA 3229-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report