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
- Markdown-Nice v1.8.22 vulnerable to Cross-site Scripting - CVE-2022-38639
- Expo on iOS is insecure due incorrect security attribute application - CVE-2020-24653


