node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| isaacs | node-tar | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Isaacs | Tar |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-rgjp-p5j7-w36x | node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.774% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Isaacs
Isaacs tar |
|
| Vendors & Products |
Isaacs
Isaacs tar |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | node-tar is a tar archive manipulation library for Node.js. From 7.5.0 until 8.0.0, parseKV splits length-delimited PAX records on newline characters, so a newline inside a record value can drop the original field and turn a trailing fragment into a forged path, size, linkpath, or other entry attribute. Default extraction confines a forged path to the extraction root. When preservePaths is enabled, the forged path may instead be absolute or contain a parent-directory component. This issue is fixed in version 8.0.0. | |
| Title | node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection | |
| Weaknesses | CWE-20 CWE-436 |
|
| References |
| |
| Metrics |
cvssV4_0
|