Description
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.
Recommendation
Update the log4js package to the latest compatible version. Followings are version details:
- Affected version(s): < 6.4.0
- Patched version(s): 6.4.0
References
Could your website be exposed too?
SmartScanner can check your website for Incorrect Default Permissions in log4js and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Incorrect Authorization in @uppy/companion - CVE-2022-0528
- Incorrect protocol extraction via \r, \n and \t characters - CVE-2022-1243
- steal vulnerable to Prototype Pollution via key variable in babel.js - CVE-2022-37266
- Improper beacon events in matrix-js-sdk can result in availability issues - CVE-2022-39236


