Skip to content

Update dependency tar to v6.2.1 [SECURITY]#23

Open
renovate[bot] wants to merge 1 commit into
developfrom
renovate/npm-tar-vulnerability
Open

Update dependency tar to v6.2.1 [SECURITY]#23
renovate[bot] wants to merge 1 commit into
developfrom
renovate/npm-tar-vulnerability

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Apr 13, 2024

This PR contains the following updates:

Package Change Age Confidence
tar 6.1.126.2.1 age confidence

Denial of service while parsing a tar file due to lack of folders count validation

CVE-2024-28863 / GHSA-f5x3-32g6-xq36

More information

Details

Description:

During some analysis today on npm's node-tar package I came across the folder creation process, Basicly if you provide node-tar with a path like this ./a/b/c/foo.txt it would create every folder and sub-folder here a, b and c until it reaches the last folder to create foo.txt, In-this case I noticed that there's no validation at all on the amount of folders being created, that said we're actually able to CPU and memory consume the system running node-tar and even crash the nodejs client within few seconds of running it using a path with too many sub-folders inside

Steps To Reproduce:

You can reproduce this issue by downloading the tar file I provided in the resources and using node-tar to extract it, you should get the same behavior as the video

Proof Of Concept:

Here's a video show-casing the exploit:

Impact

Denial of service by crashing the nodejs client when attempting to parse a tar archive, make it run out of heap memory and consuming server CPU and memory resources

Report resources

payload.txt
archeive.tar.gz

Note

This report was originally reported to GitHub bug bounty program, they asked me to report it to you a month ago

Severity

  • CVSS Score: 6.5 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

isaacs/node-tar (tar)

v6.2.1

Compare Source

v6.2.0

Compare Source

v6.1.15

Compare Source

v6.1.14

Compare Source

v6.1.13

Compare Source

Dependencies

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from de71c4e to 0c150ff Compare September 16, 2024 12:20
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from 0c150ff to 0ab8d8d Compare October 1, 2024 10:02
@renovate renovate Bot changed the title Update dependency tar to v6.2.1 [SECURITY] Update dependency tar to v6.2.1 [SECURITY] - abandoned Dec 22, 2024
@renovate
Copy link
Copy Markdown
Author

renovate Bot commented Dec 22, 2024

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@renovate renovate Bot changed the title Update dependency tar to v6.2.1 [SECURITY] - abandoned Update dependency tar to v6.2.1 [SECURITY] Dec 23, 2024
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from 0ab8d8d to 8b1009e Compare August 14, 2025 19:43
@renovate renovate Bot changed the title Update dependency tar to v6.2.1 [SECURITY] Update dependency tar to v7 [SECURITY] Jan 17, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from 8b1009e to b1406a9 Compare January 17, 2026 10:47
@renovate renovate Bot changed the title Update dependency tar to v7 [SECURITY] Update dependency tar to v6.2.1 [SECURITY] Jan 19, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from b1406a9 to 1ca764c Compare January 19, 2026 23:06
@renovate renovate Bot changed the title Update dependency tar to v6.2.1 [SECURITY] Update dependency tar to v7 [SECURITY] Jan 21, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from 1ca764c to 57a22d4 Compare January 21, 2026 19:36
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from 57a22d4 to c96230f Compare February 3, 2026 23:34
@renovate renovate Bot changed the title Update dependency tar to v7 [SECURITY] Update dependency tar to v6.2.1 [SECURITY] Feb 6, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from c96230f to cc951f9 Compare February 6, 2026 12:08
@renovate renovate Bot changed the title Update dependency tar to v6.2.1 [SECURITY] Update dependency tar to v7 [SECURITY] Feb 19, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from cc951f9 to 9b3cad2 Compare February 19, 2026 03:37
@renovate renovate Bot changed the title Update dependency tar to v7 [SECURITY] Update dependency tar to v6.2.1 [SECURITY] Feb 20, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from 9b3cad2 to a6be69f Compare February 20, 2026 19:12
@renovate renovate Bot changed the title Update dependency tar to v6.2.1 [SECURITY] Update dependency tar to v7 [SECURITY] Feb 21, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from a6be69f to 315ad74 Compare February 21, 2026 08:03
@renovate renovate Bot changed the title Update dependency tar to v7 [SECURITY] Update dependency tar to v6.2.1 [SECURITY] Mar 1, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from 315ad74 to ae47e70 Compare March 1, 2026 10:15
@renovate renovate Bot changed the title Update dependency tar to v6.2.1 [SECURITY] Update dependency tar to v7 [SECURITY] Mar 8, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from ae47e70 to 003f3ed Compare March 8, 2026 07:59
@renovate renovate Bot changed the title Update dependency tar to v7 [SECURITY] Update dependency tar to v6.2.1 [SECURITY] Mar 31, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from 003f3ed to 1c5a0e0 Compare March 31, 2026 08:33
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch from 1c5a0e0 to cd3349b Compare May 18, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants