MidnightBSD

Advisories for erlang

CVE-2009-0130 MEDIUM

lib/crypto/c_src/crypto_drv.c in erlang does not properly check the return value from the OpenSSL DSA_do_verify function, which might allow remote attackers to bypass validation of the certificate chain via a malformed SSL/TLS signature, a similar vulnerability to CVE-2008-5077. NOTE: a package maintainer disputes this issue, reporting that there is a proper check within the only code that uses the applicable part of crypto_drv.c, and thus "this report is invalid.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-287,

Products Affected

Vendor Product Version
erlang erlang _nil_
CVE-2011-0766 HIGH

The random number generator in the Crypto application before 2.0.2.2, and SSH before 2.0.5, as used in the Erlang/OTP ssh library before R14B03, uses predictable seeds based on the current time, which makes it easier for remote attackers to guess DSA host and SSH session keys.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-310,

Products Affected

Vendor Product Version
erlang erlang/otp r13b03
erlang crypto *
erlang erlang/otp r13b02-1
erlang erlang/otp r14b
erlang erlang/otp r11b-5
erlang erlang/otp r13b04
ssh ssh *
erlang erlang/otp r12b-5
erlang erlang/otp r14a
erlang erlang/otp r14b02
erlang erlang/otp r14b01
erlang erlang/otp r13b
CVE-2014-1693 HIGH

Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inject arbitrary FTP commands via CRLF sequences in the (1) user, (2) account, (3) cd, (4) ls, (5) nlist, (6) rename, (7) delete, (8) mkdir, (9) rmdir, (10) recv, (11) recv_bin, (12) recv_chunk_start, (13) send, (14) send_bin, (15) send_chunk_start, (16) append_chunk_start, (17) append, or (18) append_bin command.

CVSS 2.0

Severity: HIGH

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
erlang erlang/otp r15b03
CVE-2015-2774 MEDIUM

Erlang/OTP before 18.0-rc1 does not properly check CBC padding bytes when terminating connections, which makes it easier for man-in-the-middle attackers to obtain cleartext data via a padding-oracle attack, a variant of CVE-2014-3566 (aka POODLE).

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-200,

Products Affected

Vendor Product Version
erlang erlang/otp *
opensuse opensuse 13.2
oracle solaris 11.2
CVE-2016-1000107 MEDIUM

inets in Erlang possibly 22.1 and earlier follows RFC 3875 section 4.1.18 and therefore does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 6.1 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 2.8 2.7

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-601,

Products Affected

Vendor Product Version
erlang erlang/otp *
CVE-2016-10253 HIGH

An issue was discovered in Erlang/OTP 18.x. Erlang's generation of compiled regular expressions is vulnerable to a heap overflow. Regular expressions using a malformed extpattern can indirectly specify an offset that is used as an array index. This ordinal permits arbitrary regions within the erts_alloc arena to be both read and written to.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-119,

Products Affected

Vendor Product Version
erlang erlang/otp 18.0.1
erlang erlang/otp 19.3.6.7
erlang erlang/otp 18.0.3
erlang erlang/otp 19.0.1
erlang erlang/otp 19.2
erlang erlang/otp 19.2.3.1
erlang erlang/otp 18.3.1
erlang erlang/otp 19.3.6.4
erlang erlang/otp 19.1.5
erlang erlang/otp 18.1.4
erlang erlang/otp 18.1.3
erlang erlang/otp 18.2.4.1
erlang erlang/otp 19.3.6.1
erlang erlang/otp 18.3.4.3
erlang erlang/otp 19.0.6
erlang erlang/otp 18.3.4.4
erlang erlang/otp 18.3.4.5
erlang erlang/otp 19.3.3
erlang erlang/otp 18.1.5
erlang erlang/otp 19.3.6.8
erlang erlang/otp 19.3.6.5
erlang erlang/otp 19.0.4
erlang erlang/otp 19.1.2
erlang erlang/otp 18.1.2
erlang erlang/otp 18.0
erlang erlang/otp 18.1.1
erlang erlang/otp 19.3.6.3
erlang erlang/otp 18.2
erlang erlang/otp 19.2.2
erlang erlang/otp 18.3.3
erlang erlang/otp 19.1.3
erlang erlang/otp 19.0.7
erlang erlang/otp 19.1.6
erlang erlang/otp 18.0.2
erlang erlang/otp 18.3.2
erlang erlang/otp 18.3.4.1
erlang erlang/otp 19.3.6.9
erlang erlang/otp 19.1.6.1
erlang erlang/otp 19.3.6.2
erlang erlang/otp 19.0.3
erlang erlang/otp 19.1.1
erlang erlang/otp 19.3.4
erlang erlang/otp 19.3.6.6
erlang erlang/otp 19.1.4
erlang erlang/otp 19.0
erlang erlang/otp 19.0.5
erlang erlang/otp 18.2.1
erlang erlang/otp 19.0.2
erlang erlang/otp 19.3.1
erlang erlang/otp 18.3
erlang erlang/otp 19.3.5
erlang erlang/otp 19.2.1
erlang erlang/otp 18.1
erlang erlang/otp 19.3.6
erlang erlang/otp 18.3.4.2
erlang erlang/otp 19.2.3
erlang erlang/otp 19.1
erlang erlang/otp 18.2.2
erlang erlang/otp 19.3
erlang erlang/otp 18.2.3
erlang erlang/otp 18.3.4
erlang erlang/otp 18.2.4
erlang erlang/otp 19.3.2
CVE-2017-1000385 MEDIUM

The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. This allows an attacker to decrypt content or sign messages with the server's private key (this is a variation of the Bleichenbacher attack).

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-203,

Products Affected

Vendor Product Version
debian debian_linux 8.0
erlang erlang/otp 20.1.7
debian debian_linux 9.0
erlang erlang/otp 18.3.4.7
erlang erlang/otp 19.3.6.4
CVE-2019-1000014 MEDIUM

Erlang/OTP Rebar3 version 3.7.0 through 3.7.5 contains a Signing oracle vulnerability in Package registry verification that can result in Package modifications not detected, allowing code execution. This attack appears to be exploitable via Victim fetches packages from malicious/compromised mirror. This vulnerability appears to have been fixed in 3.8.0.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-noinfo,

Products Affected

Vendor Product Version
erlang rebar3 *
CVE-2020-13802 HIGH

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specification.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 3.9 5.9

CVSS 2.0

Severity: HIGH

Problem Type: CWE-78,

Products Affected

Vendor Product Version
erlang rebar3 3.0.0
erlang rebar3 *
CVE-2020-25623 MEDIUM

Erlang/OTP 22.3.x before 22.3.4.6 and 23.x before 23.1 allows Directory Traversal. An attacker can send a crafted HTTP request to read arbitrary files, if httpd in the inets application is used.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 3.9 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-22,

Products Affected

Vendor Product Version
erlang erlang/otp *
CVE-2020-35733 MEDIUM

An issue was discovered in Erlang/OTP before 23.2.2. The ssl application 10.2 accepts and trusts an invalid X.509 certificate chain to a trusted root Certification Authority.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 3.9 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-295,

Products Affected

Vendor Product Version
erlang erlang/otp *
fedoraproject fedora 33
CVE-2021-29221 MEDIUM

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.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.0 HIGH CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H 1.0 5.9

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-426,

Products Affected

Vendor Product Version
erlang erlang/otp *
CVE-2022-37026

In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in certain client-certification situations for SSL, TLS, and DTLS.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 3.9 5.9

Products Affected

Vendor Product Version
erlang erlang/otp *
CVE-2023-48795

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in chacha20-poly1305@openssh.com and (if CBC is used) the -etm@openssh.com MAC algorithms. This also affects Maverick Synergy Java SSH API before 3.1.0-SNAPSHOT, Dropbear through 2022.83, Ssh before 5.1.1 in Erlang/OTP, PuTTY before 0.80, AsyncSSH before 2.14.2, golang.org/x/crypto before 0.17.0, libssh before 0.10.6, libssh2 through 1.11.0, Thorn Tech SFTP Gateway before 3.4.6, Tera Term before 5.1, Paramiko before 3.4.0, jsch before 0.2.15, SFTPGo before 2.5.6, Netgate pfSense Plus through 23.09.1, Netgate pfSense CE through 2.7.2, HPN-SSH through 18.2.0, ProFTPD before 1.3.8b (and before 1.3.9rc2), ORYX CycloneSSH before 2.3.4, NetSarang XShell 7 before Build 0144, CrushFTP before 10.6.0, ConnectBot SSH library before 2.2.22, Apache MINA sshd through 2.11.0, sshj through 0.37.0, TinySSH through 20230101, trilead-ssh2 6401, LANCOM LCOS and LANconfig, FileZilla before 3.66.4, Nova before 11.8, PKIX-SSH before 14.4, SecureCRT before 9.4.3, Transmit5 before 5.10.4, Win32-OpenSSH before 9.5.0.0p1-Beta, WinSCP before 6.2.2, Bitvise SSH Server before 9.32, Bitvise SSH Client before 9.33, KiTTY through 0.76.1.13, the net-ssh gem 7.2.0 for Ruby, the mscdex ssh2 module before 1.15.0 for Node.js, the thrussh library before 0.35.1 for Rust, and the Russh crate before 0.40.2 for Rust.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N 2.2 3.6

Products Affected

Vendor Product Version
redhat openshift_api_for_data_protection -
lancom-systems lanconfig -
fedoraproject fedora 39
tinyssh tinyssh *
russh_project russh *
redhat jboss_enterprise_application_platform 7.0
redhat openshift_gitops -
apache sshj *
redhat openstack_platform 16.2
redhat keycloak -
net-ssh net-ssh 7.2.0
lancom-systems lcos_fx -
vandyke securecrt *
panic transmit_5 *
redhat single_sign-on 7.0
lancom-systems lcos *
lancom-systems lcos_lx -
debian debian_linux 10.0
proftpd proftpd *
paramiko paramiko *
roumenpetrov pkixssh *
golang crypto *
redhat advanced_cluster_security 4.0
redhat advanced_cluster_security 3.0
redhat cert-manager_operator_for_red_hat_openshift -
redhat openshift_developer_tools_and_services -
jadaptive maverick_synergy_java_ssh_api *
openbsd openssh *
redhat openshift_pipelines -
bitvise ssh_server *
apache sshd *
redhat openshift_container_platform 4.0
redhat ceph_storage 6.0
libssh libssh *
ssh ssh *
tera_term_project tera_term *
redhat discovery -
gentoo security -
dropbear_ssh_project dropbear_ssh *
libssh2 libssh2 *
erlang erlang/otp *
asyncssh_project asyncssh *
thorntech sftp_gateway_firmware *
crushftp crushftp *
netsarang xshell_7 *
redhat openstack_platform 17.1
connectbot sshlib *
redhat openshift_virtualization 4
redhat openshift_data_foundation 4.0
redhat enterprise_linux 8.0
panic nova *
lancom-systems lcos_sx 5.20
matez jsch *
redhat openstack_platform 16.1
netgate pfsense_plus *
microsoft powershell *
fedoraproject fedora 38
bitvise ssh_client *
freebsd freebsd *
redhat storage 3.0
lancom-systems lcos_sx 4.20
winscp winscp *
apple macos *
ssh2_project ssh2 *
redhat enterprise_linux 9.0
redhat openshift_dev_spaces -
putty putty *
netgate pfsense_ce *
filezilla-project filezilla_client *
crates thrussh *
sftpgo_project sftpgo *
kitty_project kitty *
oryx-embedded cyclone_ssh *
trilead ssh2 6401
redhat openshift_serverless -
CVE-2025-32433

Erlang/OTP is a set of libraries for the Erlang programming language. Prior to versions OTP-27.3.3, OTP-26.2.5.11, and OTP-25.3.2.20, a SSH server may allow an attacker to perform unauthenticated remote code execution (RCE). By exploiting a flaw in SSH protocol message handling, a malicious actor could gain unauthorized access to affected systems and execute arbitrary commands without valid credentials. This issue is patched in versions OTP-27.3.3, OTP-26.2.5.11, and OTP-25.3.2.20. A temporary workaround involves disabling the SSH server or to prevent access via firewall rules.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
security-advisories@github.com 10.0 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H 3.9 6.0

Products Affected

Vendor Product Version
cisco ultra_packet_core *
erlang erlang/otp *
cisco network_services_orchestrator *
cisco rv260_firmware -
cisco rv160w_firmware -
cisco enterprise_nfv_infrastructure_software *
cisco inode_manager -
cisco ultra_services_platform -
cisco smart_phy *
cisco rv340w_firmware -
cisco optical_site_manager *
cisco rv160_firmware -
cisco rv340_firmware -
cisco confd_basic *
cisco cloud_native_broadband_network_gateway *
cisco ncs_2000_shelf_virtualization_orchestrator_firmware *
cisco ultra_cloud_core *
cisco staros *
cisco rv345p_firmware -
cisco rv260p_firmware -
cisco rv260w_firmware -
debian debian_linux 11.0
cisco rv345_firmware -
cisco ultra_packet_core -
CVE-2026-21619

Uncontrolled Resource Consumption, Deserialization of Untrusted Data vulnerability in hexpm hex_core (hex_api modules), hexpm hex (mix_hex_api modules), erlang rebar3 (r3_hex_api modules) allows Object Injection, Excessive Allocation. This vulnerability is associated with program files src/hex_api.erl, src/mix_hex_api.erl, apps/rebar/src/vendored/r3_hex_api.erl and program routines hex_core:request/4, mix_hex_api:request/4, r3_hex_api:request/4. This issue affects hex_core: from 0.1.0 before 0.12.1; hex: from 2.3.0 before 2.3.2; rebar3: from 3.9.1 before 3.27.0.

Products Affected

Vendor Product Version
hex hex *
hex hex_core *
erlang rebar3 *