CVE-2022-21704 — Incorrect Default Permissions in Log4js-node
Severity
5.5MEDIUMNVD
OSV4.7
EPSS
0.1%
top 65.52%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 19
Latest updateMar 24
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitability: 1.8 | Impact: 3.6
Affected Packages5 packages
Also affects: Debian Linux 10.0
Patches
🔴Vulnerability Details
11OSV▶
linux, linux-aws, linux-aws-hwe, linux-gcp, linux-gcp-4.15, linux-hwe, linux-kvm, linux-oracle vulnerabilities↗2026-03-20
📋Vendor Advisories
1Debian▶
CVE-2022-21704: node-log4js - log4js-node is a port of log4js to node.js. In affected versions default file pe...↗2022