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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | erlang | 1:27.2+dfsg-1 | DEBIAN-CVE-2024-53846 |
| Debian:14 | erlang | 1:27.2+dfsg-1 | DEBIAN-CVE-2024-53846 |
| Ubuntu:24.04:LTS | erlang | 1:25.3.2.8+dfsg-1ubuntu4.6 | USN-7961-1 |
| Ubuntu:24.04:LTS | erlang | 1:25.3.2.8+dfsg-1ubuntu4.6 | UBUNTU-CVE-2024-53846 |
Affected products (as reported)
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L
References
- https://github.com/erlang/otp/security/advisories/GHSA-qw6r-qh9v-638v x_refsource_CONFIRM