{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-29221 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-29221 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-29221 is a high-severity vulnerability in Erlang/OTP, published on 9 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-29221 and fix it if it is affected.\n\nWhat it is: CVE-2021-29221 is a high-severity vulnerability in Erlang/OTP, published on 9 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-29221 in the wild and no public exploit code.\n\nAffected product: Erlang/OTP. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-29221/ (Markdown: https://insights.sbomify.com/CVE-2021-29221/index.md)","id":"CVE-2021-29221","markdown":"https://insights.sbomify.com/CVE-2021-29221/index.md","name":"CVE-2021-29221","record":{"aliases":["GHSA-gq7g-854q-935r"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Erlang/OTP runtime","requires_auth":"none","summary":"Local attackers can escalate privileges to SYSTEM or hijack accounts via unsafe filesystem permissions on Windows.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"DeepSurface","cpe":[{"product":"erlang\\/otp","vendor":"erlang"}],"cvss":{"score":7,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Privilege escalation in Erlang/OTP","id":"CVE-2021-29221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-site request forgery in n/a","id":"CVE-2021-29238"},"packages":[],"prev":{"headline":"Memory corruption in iLO Amplifier Pack","id":"CVE-2021-29220"},"products":["Erlang/OTP"],"published":"2021-04-09","related":[{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2022-37026","kev_date_added":null,"published":"2022-09-21"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-10253","kev_date_added":null,"published":"2017-03-18"},{"cvss_score":9.1,"headline":"TLS 1.2 and DTLS client accepts unoffered anonymous cipher suite, bypassing server authentication","id":"CVE-2026-55953","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.8,"headline":"Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash","id":"CVE-2026-49759","kev_date_added":null,"published":"2026-06-10"},{"cvss_score":8.7,"headline":"TLS/DTLS denial of service via unbounded recursion on cross-signed peer certificate chain","id":"CVE-2026-58227","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.7,"headline":"Denial of service via exponential certificate policy tree growth in path validation","id":"CVE-2026-59251","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.7,"headline":"DTLS listener crash via race condition in dtls_packet_demux causes denial of service for all sessions","id":"CVE-2026-55950","kev_date_added":null,"published":"2026-07-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Erlang Project"]},"summary":"Local attackers can escalate privileges to SYSTEM or hijack accounts via unsafe filesystem permissions on Windows.","url":"https://insights.sbomify.com/CVE-2021-29221/"}