Vulnerability · Published Dec 5, 2024 · Assigned by GitHub_M

CVE-2024-53846ssl fails to validate incorrect extened key usage

Medium 5.5

In plain English

A medium-severity improper certificate validation in otp from erlang. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 81.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

OTP is a set of Erlang libraries, which consists of the Erlang runtime system, a number of ready-to-use components mainly written in Erlang, and a set of design principles for Erlang programs. A regression was introduced into the ssl application of OTP starting at OTP-25.3.2.8, OTP-26.2, and OTP-27.0, resulting in a server or client verifying the peer when incorrect extended key usage is presented (i.e., a server will verify a client if they have server auth ext key usage and vice versa).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13erlang1:27.2+dfsg-1DEBIAN-CVE-2024-53846
Debian:14erlang1:27.2+dfsg-1DEBIAN-CVE-2024-53846
Ubuntu:24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.6USN-7961-1
Ubuntu:24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.6UBUNTU-CVE-2024-53846

Affected products (as reported)

VendorProductVersions
erlang otp >= 25.3.2.8, <= 25.3.2.16>= 26.2, <= 26.2.5.6>= 27.0, <= 27.1.3

Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L

References