Back
CVE-2022-21704
Incorrect Default Permissions in log4js-node
Medium5.5EPSS 0.30%
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.30% · top 77% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected < 6.4.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References (5)
- https://github.com/log4js-node/log4js-node/security/advisories/GHSA-82v2-mx6x-wq7q (opens in a new tab)x_transferred
- https://github.com/log4js-node/log4js-node/pull/1141/commits/8042252861a1b65adb66931fdf702ead34fa9b76 (opens in a new tab)x_transferred
- https://github.com/log4js-node/streamroller/pull/87 (opens in a new tab)x_transferred
- https://github.com/log4js-node/log4js-node/blob/v6.4.0/CHANGELOG.md#640 (opens in a new tab)x_transferred
- [debian-lts-announce] 20221206 [SECURITY] [DLA 3229-1] node-log4js security update (opens in a new tab)mailing-listx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-82v2-mx6x-wq7q (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-21704)Record last updated .