{"api_version":"1","generated_at":"2026-04-23T04:20:41+00:00","cve":"CVE-2021-29221","urls":{"html":"https://cve.report/CVE-2021-29221","api":"https://cve.report/api/cve/CVE-2021-29221.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29221","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29221"},"summary":{"title":"CVE-2021-29221","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.","state":"PUBLIC","assigner":"security@deepsurface.com","published_at":"2021-04-09 14:15:00","updated_at":"2021-04-20 18:00:00"},"problem_types":["CWE-426"],"metrics":[],"references":[{"url":"https://deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221/","name":"https://deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221/","refsource":"MISC","tags":[],"title":"DeepSurface Security Advisory: Local Privilege Escalation in Erlang on Windows (CVE-2021-29221)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/erlang/otp/releases/tag/OTP-23.2.3","name":"https://github.com/erlang/otp/releases/tag/OTP-23.2.3","refsource":"MISC","tags":[],"title":"Release OTP 23.2.3 · erlang/otp · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29221","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29221","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"29221","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"erlang","cpe5":"erlang/otp","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29221","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"erlang","cpe5":"erlang\\/otp","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29221","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"microsoft","cpe5":"windows","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_format":"MITRE","data_type":"CVE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"security@deepsurface.com","ID":"CVE-2021-29221","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Erlang/OTP","version":{"version_data":[{"version_value":"< 23.2.3"}]}}]},"vendor_name":"Erlang Project"}]}},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Incorrect Access Control"}]}]},"references":{"reference_data":[{"url":"https://github.com/erlang/otp/releases/tag/OTP-23.2.3","refsource":"MISC","name":"https://github.com/erlang/otp/releases/tag/OTP-23.2.3"},{"url":"https://deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221/","refsource":"MISC","name":"https://deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221/"}]}},"nvd":{"publishedDate":"2021-04-09 14:15:00","lastModifiedDate":"2021-04-20 18:00:00","problem_types":["CWE-426"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"},"exploitabilityScore":1,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:H/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":6.2},"severity":"MEDIUM","exploitabilityScore":1.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"23.2.3","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"29221","Ordinal":"204416","Title":"CVE-2021-29221","CVE":"CVE-2021-29221","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"29221","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"29221","Ordinal":"2","NoteData":"2021-04-09","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"29221","Ordinal":"3","NoteData":"2021-04-09","Type":"Other","Title":"Modified"}]}}}