CVE-2021-22921

Summary

Node.js before 16.4.1, 14.17.2, and 12.22.2 is vulnerable to local privilege escalation attacks under certain conditions on Windows platforms. More specifically, improper configuration of permissions in the installation directory allows an attacker to perform two different escalation attacks: PATH and DLL hijacking.

Affected Software

VendorProductVersion RangeStatus
NodeJSNode4.0 < 4.*affected
NodeJSNode5.0 < 5.*affected
NodeJSNode6.0 < 6.*affected
NodeJSNode7.0 < 7.*affected
NodeJSNode8.0 < 8.*affected
NodeJSNode9.0 < 9.*affected
NodeJSNode10.0 < 10.*affected
NodeJSNode11.0 < 11.*affected
NodeJSNode12.0 < 12.22.2affected
NodeJSNode13.0 < 13.*affected
NodeJSNode14.0 < 14.17.2affected
NodeJSNode15.0 < 15.*affected
NodeJSNode16.0 < 16.4.1affected

Weaknesses

  • CWE-732: Incorrect Permission Assignment for Critical Resource (CWE-732)

ADP Enrichment

CVE Program Container

Additional References

References