Lucene search
+L

Erlang/OTP (Erlang OTP) < 23.2.3 Privilege Escalation Vulnerability

🗓️ 15 Sep 2025 00:00:00Reported by Copyright (C) 2025 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 5 Views

Erlang/OTP versions before 23.2.3 permit local privilege escalation via the erts component.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2021-29221
9 Apr 202114:15
attackerkb
cnnvd
CNNVD
Erlang/OTP 代码问题漏洞
9 Apr 202100:00
cnnvd
cve
CVE
CVE-2021-29221
9 Apr 202113:34
cve
cvelist
Cvelist
CVE-2021-29221
9 Apr 202113:34
cvelist
debiancve
Debian CVE
CVE-2021-29221
9 Apr 202113:34
debiancve
euvd
EUVD
EUVD-2021-15860
7 Oct 202500:30
euvd
hackerone
Hacker One
Node.js: Node Installer Local Privilege Escalation
28 May 202100:40
hackerone
nvd
NVD
CVE-2021-29221
9 Apr 202114:15
nvd
nessus
Tenable Nessus
Photon OS 1.0: Erlang PHSA-2021-1.0-0414
22 Jul 202100:00
nessus
nessus
Tenable Nessus
Photon OS 3.0: Erlang PHSA-2021-3.0-0235
21 May 202100:00
nessus
Rows per page
# SPDX-FileCopyrightText: 2025 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:erlang:erlang%2fotp";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.119107");
  script_version("2025-09-16T05:38:45+0000");
  script_tag(name:"last_modification", value:"2025-09-16 05:38:45 +0000 (Tue, 16 Sep 2025)");
  script_tag(name:"creation_date", value:"2025-09-15 13:03:57 +0000 (Mon, 15 Sep 2025)");
  script_tag(name:"cvss_base", value:"6.2");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:H/Au:N/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2021-04-20 18:00:21 +0000 (Tue, 20 Apr 2021)");
  script_cve_id("CVE-2021-29221");
  script_name("Erlang/OTP (Erlang OTP) < 23.2.3 Privilege Escalation Vulnerability");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2025 Greenbone AG");
  script_family("Privilege escalation");
  script_dependencies("gb_erlang_otp_ssh_banner_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("erlang/otp/detected", "Host/runs_windows");

  script_xref(name:"URL", value:"https://github.com/erlang/otp/releases/tag/OTP-23.2.3");
  script_xref(name:"URL", value:"https://www.attackiq.com/2021/04/04/dsa-lpe-erlang-win/");

  script_tag(name:"summary", value:"Erlang/OTP (Erlang OTP) is prone to a local privilege escalation
  vulnerability in the erts component.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"impact", value:"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.");

  script_tag(name:"affected", value:"Erlang/OTP (Erlang OTP) versions prior to 23.2.3.

  Note: This can occur only under specific conditions on Windows with unsafe filesystem permissions.");

  script_tag(name:"solution", value:"Update to version 23.2.3 or later.");

  # nb: Only quite specific conditions needs to be fulfilled for being affected.
  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

if( isnull( port = get_app_port( cpe:CPE ) ) )
  exit( 0 );

if( ! infos = get_app_version_and_location( cpe:CPE, port:port, exit_no_version:TRUE ) )
  exit( 0 );

version = infos["version"];
location = infos["location"];

if( version_is_less( version:version, test_version:"23.2.3" ) ) {
  report = report_fixed_ver( installed_version:version, fixed_version:"23.2.3", install_path:location );
  security_message( port:port, data:report );
  exit( 0 );
}

exit( 99 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

16 Sep 2025 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 26.2
CVSS 3.17
EPSS0.00584
5