CVE-2022-21704: debian debian_linux Incorrect Default Permissions
Vulnerability summary
CVE-2022-21704 is a medium (CVSS 5.5) Incorrect Default Permissions vulnerability in debian debian_linux. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.7% of scored vulnerabilities.
Timeline
- 19-01-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · NpmEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
0.00 pp
From 0.30% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- node-log4js< 4.0.2-2+deb10u1 | < 6.4.1+~cs8.3.5-1
- debian_linuxEOL10.0
Log4js_project1 product
- log4js< 6.4.0
Log4js-node1 product
- log4js-node< 6.4.0
Npm1 product
- log4js< 6.4.0
Ubuntu1 product
- node-log4jsAll versions (No fix recorded)
5 vendors · 6 products
References
11 links- github.com/log4js-node/log4js-node/security/advisories/GHSA-82v2-mx6x-wq7qREPORTWEBPatchThird Party Advisory
- github.com/log4js-node/log4js-node/pull/1141/commits/8042252861a1b65adb66931fdf702ead34fa9b76WEBPatchThird Party Advisory
- github.com/log4js-node/log4js-node/blob/v6.4.0/CHANGELOG.mdREPORTWEBRelease NotesThird Party Advisory