CVE-2022-21704: Incorrect Default Permissions in log4js
(updated )
log4js-node is a port of log4js to node. 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.
References
- github.com/advisories/GHSA-82v2-mx6x-wq7q
- github.com/log4js-node/log4js-node/blob/v6.4.0/CHANGELOG.md
- github.com/log4js-node/log4js-node/pull/1141/commits/8042252861a1b65adb66931fdf702ead34fa9b76
- github.com/log4js-node/log4js-node/security/advisories/GHSA-82v2-mx6x-wq7q
- github.com/log4js-node/streamroller/pull/87
- nvd.nist.gov/vuln/detail/CVE-2022-21704
Detect and mitigate CVE-2022-21704 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →