CVE-2021-37701 vulnerability in Npmjs and Other Products
Published on August 31, 2021
Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links
Vulnerability Analysis
CVE-2021-37701 can be exploited with local system access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Weakness Types
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2021-37701 has been classified to as a Directory traversal vulnerability or weakness.
What is an insecure temporary file Vulnerability?
The software attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
CVE-2021-37701 has been classified to as an insecure temporary file vulnerability or weakness.
Products Associated with CVE-2021-37701
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-37701 are published in these products:
Affected Versions
npm node-tar:- Version < 4.4.16 is affected.
- Version >= 5.0.0, < 5.0.8 is affected.
- Version >= 6.0.0, < 6.1.7 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2021-37701
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| npm | tar | >= 6.0.0, < 6.1.7 | 6.1.7 |
| npm | tar | >= 5.0.0, < 5.0.8 | 5.0.8 |
| npm | tar | < 4.4.16 | 4.4.16 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.