3 matches found
node-tar: ReadEntry pending PAX size reapplication permits metadata-body file smuggling
Summary A crafted tar archive containing consecutive PAX headers can make node-tar interpret a block inside a PAX metadata body as a real filesystem entry. Under default options, both tar.list and tar.extract expose the hidden entry, and extraction can truncate an existing file inside the...
GHSA-P96F-8XJ2-G85P node-tar: ReadEntry pending PAX size reapplication permits metadata-body file smuggling
Summary A crafted tar archive containing consecutive PAX headers can make node-tar interpret a block inside a PAX metadata body as a real filesystem entry. Under default options, both tar.list and tar.extract expose the hidden entry, and extraction can truncate an existing file inside the...
PT-2026-164998
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing linkpath can populate entry.linkpath on every entry returned by tar.Parser without a strict-mode warning. Direct tar.Parser or tar.list consumers that trust this value can create...