{"schemaVersion":3,"id":"CVE-2021-22921","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-07-12T10:22:24.000Z","modified":"2025-04-30T22:24:32.965Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.4,"severity":"medium","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.07409,"percentile":0.94384,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.07409},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.07409,"percentile":0.94384}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07409,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.07409,"percentile":0.94384}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_5E34CC715581812A","name":"Exploit Reference (hackerone.com)","source":"reference","url":"https://hackerone.com/reports/1211160","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"nodejs","product":"node","name":"Node","label":"node","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0, < 4.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0, < 5.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0, < 6.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0, < 7.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0, < 8.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0, < 9.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0, < 10.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.0, < 11.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 12.0, < 12.22.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 13.0, < 13.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 14.0, < 14.17.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 15.0, < 15.*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 16.0, < 16.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0, < 4.* | ≥ 5.0, < 5.* | ≥ 6.0, < 6.* | ≥ 7.0, < 7.* | ≥ 8.0, < 8.* | ≥ 9.0, < 9.* | ≥ 10.0, < 10.* | ≥ 11.0, < 11.* | ≥ 12.0, < 12.22.2 | ≥ 13.0, < 13.* | ≥ 14.0, < 14.17.2 | ≥ 15.0, < 15.* | ≥ 16.0, < 16.4.1","eol":null,"hubHref":"/vendor/nodejs/node"},{"vendor":"nodejs","product":"node.js","name":"node.js","label":"node.js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 12.0.0, < 12.22.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 14.0.0, < 14.17.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 16.0.0, < 16.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 12.0.0, < 12.22.2 | ≥ 14.0.0, < 14.17.2 | ≥ 16.0.0, < 16.4.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"nodejs","label":"Node.js","category":"framework"}},"hubHref":"/vendor/nodejs/nodejs"},{"vendor":"siemens","product":"sinec_infrastructure_network_services","name":"sinec infrastructure network services","label":"sinec_infrastructure_network_services","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.1.1","eol":null,"hubHref":"/vendor/siemens/sinec_infrastructure_network_services"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/","label":"nodejs.org/en/blog/vulnerability/july-2021-security-releases/","hostname":"nodejs.org","tags":["X Refsource MISC","Patch","Release Notes","Vendor Advisory"]},{"url":"https://hackerone.com/reports/1211160","label":"hackerone.com/reports/1211160","hostname":"hackerone.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210805-0003/","label":"security.netapp.com/advisory/ntap-20210805-0003/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","label":"cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","hostname":"cert-portal.siemens.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-07-12T10:22:24.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-30T22:24:32.965Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:09:51.866Z","stale":false,"partial":false}}