{"cve":"CVE-2022-21704","nvd":{"published":"2022-01-19T23:15:08.177","modified":"2026-06-17T04:26:48.187","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5},"cwes":["CWE-276"],"references":["https://github.com/log4js-node/log4js-node/blob/v6.4.0/CHANGELOG.md#640","https://github.com/log4js-node/log4js-node/pull/1141/commits/8042252861a1b65adb66931fdf702ead34fa9b76","https://github.com/log4js-node/log4js-node/security/advisories/GHSA-82v2-mx6x-wq7q","https://github.com/log4js-node/streamroller/pull/87","https://lists.debian.org/debian-lts-announce/2022/12/msg00014.html"],"products":["debian:debian_linux","log4js_project:log4js"],"source":"nvd","synced_at":"2026-10-19T21:27:20.926095847+00:00"},"epss":{"cve":"CVE-2022-21704","score":0.00297,"percentile":0.22455,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-82v2-mx6x-wq7q","url":"https://osv.dev/vulnerability/GHSA-82v2-mx6x-wq7q","summary":"Incorrect Default Permissions in log4js","modified":"2023-11-08T04:08:08.863264Z","packages":[{"ecosystem":"npm","name":"log4js","purl":"pkg:npm/log4js","ranges":["<6.4.0"],"fixed":["6.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}