7.0high
A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3.
- Severity
- 7.0high CVSS:3.1 by NVD
- Exploit likelihood
- 0.58% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- DeepSurface
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Erlang Project Erlang/OTP | < 23.2.3 | CVE List |
| erlang erlang/otp | before 23.2.3 | NVD |
All scores
| NVD | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.2medium CVSS:2.0 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
NVD (es)
Se detectó una vulnerabilidad de escalada de privilegios local en Erlang/OTP anterior a versión 23.2.3. Al agregar archivos a un directorio de instalación existente, un atacante local podría secuestrar cuentas de otros usuarios que ejecutan programas Erlang o posiblemente coaccionar un servicio que se ejecuta con "erlsrv.exe" para ejecutar código arbitrario como Local System. Esto puede ocurrir solo bajo condiciones específicas en Windows con permisos de sistema de archivos no seguros
References
| https://github.com/erlang/otp/releases/tag/OTP-23.2.3 | third-party-advisory | |
| https://deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221/ | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29221 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-29221 changed 2026-06-17 | Public domain |