Skip to content

chore(deps): update dependency tar to v6.2.1 [security]#192

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

chore(deps): update dependency tar to v6.2.1 [security]#192
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-tar-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 15, 2026

This PR contains the following updates:

Package Change Age Confidence
tar 6.2.06.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


Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 enabled auto-merge April 15, 2026 18:35
@renovate renovate Bot changed the title chore(deps): update dependency tar to v6.2.1 [security] chore(deps): update dependency tar to v6.2.1 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
auto-merge was automatically disabled April 27, 2026 18:02

Pull request was closed

@renovate renovate Bot deleted the renovate/npm-tar-vulnerability branch April 27, 2026 18:02
@renovate renovate Bot changed the title chore(deps): update dependency tar to v6.2.1 [security] - autoclosed chore(deps): update dependency tar to v6.2.1 [security] Apr 28, 2026
@renovate renovate Bot reopened this Apr 28, 2026
@renovate renovate Bot force-pushed the renovate/npm-tar-vulnerability branch 2 times, most recently from 5c0722d to 0c988e5 Compare April 28, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants