CVE-2022-21704 Incorrect Default Permissions in log4js-node
MediumCVSS 5.5
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
log4js-node is a port of log4js to node.js. In affected versions 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. Users are advised to update.
Upgrade path
10 packages: 5 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/node-log4js(Ubuntu 16.04) | = 0.6.18-1; All versions | No fix listed | No fix yet |
| ubuntu/node-log4js(Ubuntu 18.04) | = 0.6.18-1; All versions | No fix listed | No fix yet |
| ubuntu/node-log4js(Ubuntu 20.04) | = 4.5.1-3; = 5.2.1-1; = 6.1.0-1; All versions | No fix listed | No fix yet |
| debian/node-log4js(Debian 12) | < 6.4.1+~cs8.3.5-1 | 6.4.1+~cs8.3.5-1 | Fixed |
| debian/node-log4js(Debian 13) | < 6.4.1+~cs8.3.5-1 | 6.4.1+~cs8.3.5-1 | Fixed |
| debian/node-log4js(Debian 14) | < 6.4.1+~cs8.3.5-1 | 6.4.1+~cs8.3.5-1 | Fixed |
| log4js project log4js | < 6.4.0 | 6.4.0 | Fixed |
| npm log4js(npm) | < 6.4.0 | 6.4.0 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
| log4js-node | = < 6.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm log4js(npm) | < 6.4.0 | 6.4.0 |
| log4js-node | = < 6.4.0 | No fix listed |
| log4js project log4js | < 6.4.0 | 6.4.0 |
| debian linux | = 10.0 | No fix listed |
| debian/node-log4js(Debian:12) | < 6.4.1+~cs8.3.5-1 | 6.4.1+~cs8.3.5-1 |
| debian/node-log4js(Debian:14) | < 6.4.1+~cs8.3.5-1 | 6.4.1+~cs8.3.5-1 |
| debian/node-log4js(Debian:13) | < 6.4.1+~cs8.3.5-1 | 6.4.1+~cs8.3.5-1 |
| ubuntu/node-log4js(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/node-log4js(Ubuntu:16.04) | = 0.6.18-1 | No fix listed |
| ubuntu/node-log4js(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/node-log4js(Ubuntu:18.04) | = 0.6.18-1 | No fix listed |
| ubuntu/node-log4js(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/node-log4js(Ubuntu:20.04) | = 4.5.1-3 | No fix listed |
| ubuntu/node-log4js(Ubuntu:20.04) | = 5.2.1-1 | No fix listed |
| ubuntu/node-log4js(Ubuntu:20.04) | = 6.1.0-1 | No fix listed |
References
- github.com issue-tracking patch third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking release-notes third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- [debian-lts-announce] 20221206 [SECURITY] [DLA 3229-1] node-log4js security update mailing-list third-party-advisory
- github.com
- Debian Security Tracker CVE-2022-21704 vendor-advisory
- github.com product
- ubuntu.com issue-tracking
- github.com issue-tracking
- www.cve.org issue-tracking