PT-2022-1771

CVE-2022-21704

·

Published

2022-01-19

·

Updated

2023-02-03

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions log4js-node versions prior to 6.4.0
Description The issue is related to the default file permissions for log files created by the file, fileSync, and dateFile appenders in log4js-node, which are world-readable in Unix. This could cause problems if log files contain sensitive information, affecting users who have not supplied their own permissions for the files via the mode parameter in the config.
Recommendations For versions prior to 6.4.0, update to log4js@6.4.0 to fix the issue. As a temporary workaround, consider passing the mode parameter to the configuration of file appenders to set custom permissions, as allowed by every version of log4js.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-82V2-MX6X-WQ7Q
AZL-45261
DLA-3229-1
Found an issue in the description? Have something to add? Feel free to write us 👾