Skip to main content
← All vulnerabilities
CVE-2022-21704GHSA-82V2-MX6X-WQ7Q

Incorrect Default Permissions in log4js-node

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • log4js-node log4js-node

    fixed in 6.4.0

  • log4jsnpm

    fixed in 6.4.0

References 5

GitHub · log4js-node/log4js-node

GitHub · log4js-node/streamroller

lists.debian.org