{"schemaVersion":3,"id":"CVE-2021-29221","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. By adding files to an existing installation's directory, a local attacker could hijack accounts of other users running Erlang programs or possibly coerce a service running with \"erlsrv.exe\" to execute arbitrary code as Local System. This can occur only under specific conditions on Windows with unsafe filesystem permissions.","dates":{"published":"2021-04-09T13:34:59.000Z","modified":"2024-08-03T22:02:51.425Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:H/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,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/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":6.2,"severity":"medium","vector":"AV:L/AC:H/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00584,"percentile":0.46876,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00584},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00584,"percentile":0.46876}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00584,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00584,"percentile":0.46876}]},"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_07F373F852E0DE4B","name":"Exploit Reference (deepsurface.com)","source":"reference","url":"https://deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-426","name":"Untrusted Search Path","description":"The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"erlang project","product":"erlang/otp","name":"Erlang/OTP","label":"erlang/otp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 23.2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.2.3","eol":null,"hubHref":"/vendor/erlang_project/erlangotp"},{"vendor":"erlang","product":"erlang\\/otp","name":"Erlang/OTP","label":"erlang\\/otp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 23.2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.2.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"erlang","label":"Erlang","category":"lang"}},"hubHref":"/vendor/erlang/erlangotp"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/erlang/otp/releases/tag/OTP-23.2.3","label":"github.com/erlang/otp/releases/tag/OTP-23.2.3","hostname":"github.com","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221/","label":"deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221","hostname":"deepsurface.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-04-09T13:34:59.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T22:02:51.425Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:16:13.143Z","stale":false,"partial":false}}