Vulnerabilities/

Incorrect Default Permissions in log4js

Severity:
Medium

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:

References

Related Issues

Tags:
npm
log4js
Anything's wrong? Let us know Last updated on January 24, 2024

This issue is available in SmartScanner Professional

See Pricing