CVE-2021-29221: A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3
CVE-2021-29221 is a high-severity flaw (CVSS 7.0) affecting erlang\/otp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.0 (High) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Weakness | CWE-426 |
| Published | 2021-04-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-29221?
erlang\/otp: upgrade to 23.2.3. Exact commands for each OS are on this page.
Is CVE-2021-29221 being exploited?
CVE-2021-29221 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-29221 affect?
CVE-2021-29221 affects erlang\/otp. Severity is high (CVSS 7.0). 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 possi
How urgent is CVE-2021-29221?
Priority 41/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2026-28808 CRITICAL 9.8 UPGRADE UPGRADE Incorrect Authorization vulnerability in Erlang OTP (inets modules) allows unauthenticated access to CGI scrip
- CVE-2026-32144 HIGH 7.4 UPGRADE UPGRADE Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_ocsp module) allows OCSP design
- CVE-2026-32147 MEDIUM 4.3 UPGRADE UPGRADE Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP ssh
- CVE-2026-28810 LOW 3.7 UPGRADE Generation of Predictable Numbers or Identifiers vulnerability in Erlang/OTP kernel (inet_res, inet_db modules
- CVE-2026-49759 HIGH 8.2 UPGRADE UPGRADE Stack-based Buffer Overflow vulnerability in Erlang OTP erts (inet_drv) allows an unauthenticated remote attac