synced 12 MIN AGO
01 Record

CVE-2021-32804

Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization

HighPUBLISHEDCNA: GitHub_M
CNA base score8.2 CVSS v3.xCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

02 Description

Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
15.06% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 96.6% of scored records. A rank, not a probability.
NVD base score
8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2021-08-03 19:10Z5 YR AGO
Last updated
2024-08-03 23:33Z2 YR AGO
Reserved
2021-05-12
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
High (CVSS 8.2)
CNA CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Weaknesses
  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
Data version
5.1
Document digest
174d907f10bb552b7bac33714008e2eaa1644cc713d348f798052e0bf8198309

05 Affected products

VendorProductVersionsPlatforms
npmnode-tar< 3.2.2, >= 4.0.0, < 4.4.14, >= 5.0.0, < 5.0.6, >= 6.0.0, < 6.1.1—

06 References

07 Fixed in

AlmaLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-docs
    Fixed in 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-nodemon
    Fixed in 2.0.3-1.module_el8.4.0+2521+c668cc9f
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 17-3.module_el8.3.0+2023+d2377ea3
    • Affected before 17-3.module_el8.4.0+2224+b07ac28e
    • Affected before 17-3.module_el8.4.0+2521+c668cc9f
    • Affected before 23-3.module_el8.4.0+2522+3bd42762
    • Affected before 23-3.module_el8.5.0+254+b4526b16
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-docs
    Fixed in 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
  • nodejs-nodemon
    Fixed in 2.0.3-1.module_el8.4.0+2521+c668cc9f
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 17-3.module_el8.3.0+2023+d2377ea3
    • Affected before 17-3.module_el8.4.0+2224+b07ac28e
    • Affected before 17-3.module_el8.4.0+2521+c668cc9f
    • Affected before 23-3.module_el8.4.0+2522+3bd42762
    • Affected before 23-3.module_el8.5.0+254+b4526b16
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7
    • Affected before 1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • node-tar
    Fixed in 6.1.7+~cs11.3.10-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • node-tar
    Fixed in 6.1.7+~cs11.3.10-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • node-tar
    Fixed in 6.1.7+~cs11.3.10-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • node-tar
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • node-tar
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • node-tar
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • node-tar
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.04 LTS

  • node-tar
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.10

  • node-tar
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • node-tar
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • node-tar
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • node-tar
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.