p PatchFirst

CVE-2024-28863

CVE-2024-28863 · node-tar vulnerable to denial of service while parsing a tar file due to lack of folders count validation

This page contains facts from public vulnerability sources. Check the original advisory before updating.

node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js client within few seconds of running it using a path with too many sub-folders inside. Version 6.2.1 fixes this issue by preventing extraction in excessively deep sub-folders.

CVSS 6.5 · Medium · EPSS 0.9% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • node-tar

    Versions
    • < 6.2.1: Affected

    No fix published

  • node-tar Debian:12

    Versions
    • 6.1.13+~cs7.0.5-1
    Affected ranges
    • ECOSYSTEM: < 6.1.13+~cs7.0.5-1+deb12u1

    Update to 6.1.13+~cs7.0.5-1+deb12u1

  • node-tar Debian:13

    Affected ranges
    • ECOSYSTEM: < 6.1.13+~cs7.0.5-2

    Update to 6.1.13+~cs7.0.5-2

  • node-tar Debian:14

    Affected ranges
    • ECOSYSTEM: < 6.1.13+~cs7.0.5-2

    Update to 6.1.13+~cs7.0.5-2

  • node-tar npm

    Affected ranges
    • SEMVER: < 6.2.1

    Update to 6.2.1

  • tar npm

    Affected ranges
    • SEMVER: < 6.2.1

    Update to 6.2.1

  • node-tar Ubuntu:Pro:20.04:LTS

    Versions
    • 4.4.10+ds1-2
    • 4.4.10+ds1-2ubuntu1
    • 4.4.10+ds1-2ubuntu1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-tar Ubuntu:22.04:LTS

    Versions
    • 6.1.7+~cs11.3.10-1
    • 6.1.11+~cs11.3.10-1
    • 6.1.11+ds1+~cs6.0.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-tar Ubuntu:24.04:LTS

    Versions
    • 6.1.13+~cs7.0.5-1
    • 6.1.13+~cs7.0.5-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →