Vulnerability · Published Jun 27, 2024 · Assigned by mitre

CVE-2024-28820

Medium 6.3

In plain English

A medium-severity out-of-bounds read in the openvpn-auth-ldap package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.4%top 63.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Buffer overflow in the extract_openvpn_cr function in openvpn-cr.c in openvpn-auth-ldap (aka the Three Rings Auth-LDAP plugin for OpenVPN) 2.0.4 allows attackers with a valid LDAP username and who can control the challenge/response password field to pass a string with more than 14 colons into this field and cause a buffer overflow.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21openvpn-auth-ldap2.0.4-r7ALPINE-CVE-2024-28820
Alpine:v3.22openvpn-auth-ldap2.0.4-r7ALPINE-CVE-2024-28820
Alpine:v3.23openvpn-auth-ldap2.0.4-r7ALPINE-CVE-2024-28820
Alpine:v3.24openvpn-auth-ldap2.0.4-r7ALPINE-CVE-2024-28820
Debian:12openvpn-auth-ldapno fix listedDEBIAN-CVE-2024-28820
Debian:13openvpn-auth-ldap2.0.4-4DEBIAN-CVE-2024-28820
Debian:14openvpn-auth-ldap2.0.4-4DEBIAN-CVE-2024-28820
Ubuntu:22.04:LTSopenvpn-auth-ldapno fix listedUBUNTU-CVE-2024-28820
Ubuntu:24.04:LTSopenvpn-auth-ldapno fix listedUBUNTU-CVE-2024-28820
Ubuntu:25.10openvpn-auth-ldapno fix listedUBUNTU-CVE-2024-28820
Ubuntu:26.04:LTSopenvpn-auth-ldapno fix listedUBUNTU-CVE-2024-28820
Ubuntu:26.10openvpn-auth-ldapno fix listedUBUNTU-CVE-2024-28820

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

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

References