CVE-2022-21704 - CVE House
Back to Database
Status published Medium CVE-2022-21704

Incorrect Default Permissions in log4js-node

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-21704

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

log4js-node

View all reports →

Affected Software

log4js-node
Vulnerable Versions:
< 6.4.0

Timeline

Official Publish: January 19th, 2022
Last Modified: April 23rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weaknesses (CWE)