CVE & CISA-KEV Catalog

CVE-2022-21704

MEDIUM
5.5
CVSS v3
NVD

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.

How to fix

Remediation Available
node-log4jsDebian
Fixed in:6.3.0+~cs8.3.10-1+deb11u1CVE-2022-21704
Fixed in:6.4.1+~cs8.3.5-1CVE-2022-21704
Fixed in:6.4.1+~cs8.3.5-1CVE-2022-21704
Fixed in:6.4.1+~cs8.3.5-1CVE-2022-21704

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

0.30%probability of exploitation in 30 days
22ndpercentile

Low risk: more likely to be exploited than 22% of all known CVEs.

References

Related Vulnerabilities

Other CWE-276 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2013-0632Critical9.894%KEV-
CVE-2017-11610High8.888%-Fix
CVE-2023-29919Critical9.160%--
CVE-2019-17124Critical9.823%--
CVE-2020-12608High7.822%-Fix
CVE-2021-3437Critical9.816%-Fix
Embed a live status badge for CVE-2022-21704
CVE-2022-21704 severity badge

Markdown

[![CVE-2022-21704](https://tridentstack.com/cve/badge/CVE-2022-21704.svg)](https://tridentstack.com/cve/CVE-2022-21704)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-21704"><img src="https://tridentstack.com/cve/badge/CVE-2022-21704.svg" alt="CVE-2022-21704"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.