Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-37478 PoC — pnpm incorrectly parses tar archives relative to specification

Source
Associated Vulnerability
Title:pnpm incorrectly parses tar archives relative to specification (CVE-2023-37478)
Description:pnpm is a package manager. It is possible to construct a tarball that, when installed via npm or parsed by the registry is safe, but when installed via pnpm is malicious, due to how pnpm parses tar archives. This can result in a package that appears safe on the npm registry or when installed via npm being replaced with a compromised or malicious version when installed via pnpm. This issue has been patched in version(s) 7.33.4 and 8.6.8.
Readme
CVE-2023-37478-Demo
File Snapshot

[4.0K] /data/pocs/32cbdc5de2fe413d90729849c3d9426120949725 ├── [ 975] package.json ├── [ 54M] pnpm-macos-arm64 ├── [4.0K] public │   └── [1.7K] index.html ├── [ 19] README.md ├── [4.0K] src │   ├── [4.0K] components │   │   ├── [ 283] Board.js │   │   ├── [1.7K] Game.js │   │   └── [ 259] Square.js │   ├── [ 409] helper.js │   ├── [1.0K] index.css │   └── [ 188] index.js └── [4.0K] ttt-utils ├── [4.0K] bad_version │   ├── [ 514] index.js │   └── [ 206] package.json ├── [4.0K] good_version │   ├── [ 488] index.js │   └── [ 209] package.json └── [ 635] ttt-utils.tgz 6 directories, 15 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →