---
title: "CVE-2022-21704: log4js-node log4js-node Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2022-21704: log4js-node log4js-node Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2022-21704 is a published software vulnerability affecting log4js-node log4js-node. CVSS base score: 5.5 (MEDIUM). Published January 19, 2022 by GitHub\_M. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2022-21704
- Status: Published
- Affected vendor: log4js-node
- Affected product: log4js-node
- Assigner CNA: GitHub\_M
- Published date: January 19, 2022
- Last updated: April 23, 2025
- CVSS base score: 5.5 (MEDIUM)
- CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weakness (CWE): CWE-276: Incorrect Default Permissions

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Pediatric oncology practices in the United States](https://specstream.ai/data/businesses/pediatric-oncology-practices/united-states)
- [Inventory control companies in the United States](https://specstream.ai/data/businesses/inventory-control-companies/united-states)
- [Equipment rental companies in the United States](https://specstream.ai/data/businesses/equipment-rental-companies/united-states)
- [Cambodian restaurants in the United States](https://specstream.ai/data/businesses/cambodian-restaurants/united-states)
- [Workers compensation law firms in the United States](https://specstream.ai/data/businesses/workers-compensation-law-firms/united-states)
- [Shipping and delivery companies in the United States](https://specstream.ai/data/businesses/shipping-and-delivery-companies/united-states)
