{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "23.2.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "050a78f8a67ed76a632f0e73b76ceb83e7054e5f"
            }
          ],
          "repo": "https://github.com/erlang/otp",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2021-29221",
  "modified": "2026-03-13T21:52:12.018190899Z",
  "published": "2021-04-09T14:15:12.910Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/erlang/otp/releases/tag/OTP-23.2.3"
    },
    {
      "type": "EVIDENCE",
      "url": "https://deepsurface.com/deepsurface-security-advisory-local-privilege-escalation-in-erlang-on-windows-cve-2021-29221/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}