---
title: "CVE-2021-37701: npm node-tar Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2021-37701: npm node-tar Vulnerability

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

CVE-2021-37701 is a published software vulnerability affecting npm node-tar. CVSS base score: 8.2 (HIGH). Published August 31, 2021 by GitHub\_M. The npm package "tar" (aka node-tar) before versions 4.4.16, 5.0.8, and 6.1.7 has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. This is, in part.

[CVE Vulnerabilities](/data/cve)

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

- CVE ID: CVE-2021-37701
- Status: Published
- Affected vendor: npm
- Affected product: node-tar
- Assigner CNA: GitHub\_M
- Published date: August 31, 2021
- Last updated: August 4, 2024
- CVSS base score: 8.2 (HIGH)
- CVSS vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- Weakness (CWE): CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

## 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

- [Housing or property companies in the United States](https://specstream.ai/data/businesses/housing-or-property-companies/united-states)
- [Hearing aid stores in the United States](https://specstream.ai/data/businesses/hearing-aid-stores/united-states)
- [Gift shops in the United States](https://specstream.ai/data/businesses/gift-shops/united-states)
- [Forestry services in the United States](https://specstream.ai/data/businesses/forestry-services/united-states)
- [Fence contractors in the United States](https://specstream.ai/data/businesses/fence-contractors/united-states)
- [Environmental testing companies in the United States](https://specstream.ai/data/businesses/environmental-testing-companies/united-states)
