GitHub Advisory Database
GHSA-92fh-27vv-894w
nanotar is vulnerable to path traversal in parseTar() and parseTarGzip()
Details
nanotar through 0.2.0 has a path traversal vulnerability in parseTar() and parseTarGzip() that allows remote attackers to write arbitrary files outside the intended extraction directory via a crafted tar archive containing path traversal sequence.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | nanotar | All versions up to and including 0.2.0 |