Bug 2556104 - CVE-2026-73566 rust-tar: node-tar: Denial of Service via crafted long-path tar archive [fedora-all]
Summary: CVE-2026-73566 rust-tar: node-tar: Denial of Service via crafted long-path ta...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-tar
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Rust SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["9fdcac89-38ab-4d59-b738-6...
Depends On:
Blocks: CVE-2026-73566
TreeView+ depends on / blocked
 
Reported: 2026-10-20 10:30 UTC by Florencio Cano
Modified: 2026-10-20 10:30 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Florencio Cano 2026-10-20 10:30:34 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.21, node-tar's filesFilter in src/list.ts uses the recursive mapHas helper to walk an archive entry path upward with path.dirname() and no segment cap when tar.t(...) or tar.x(...) receives a non-empty member-selection list. A crafted GNU L or PAX x long-path header with thousands of slash-separated segments reaches this.filter(entry.path, entry) in Parser[CONSUMEHEADER] in src/parse.ts before Unpack[CHECKPATH] applies maxDepth, causing an uncatchable RangeError stack overflow that terminates asynchronous and streaming Node.js consumers. This issue is fixed in version 7.5.21.


Note You need to log in before you can comment on or make changes to this bug.