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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | openvpn-auth-ldap | 2.0.4-r7 | ALPINE-CVE-2024-28820 |
| Alpine:v3.22 | openvpn-auth-ldap | 2.0.4-r7 | ALPINE-CVE-2024-28820 |
| Alpine:v3.23 | openvpn-auth-ldap | 2.0.4-r7 | ALPINE-CVE-2024-28820 |
| Alpine:v3.24 | openvpn-auth-ldap | 2.0.4-r7 | ALPINE-CVE-2024-28820 |
| Debian:12 | openvpn-auth-ldap | no fix listed | DEBIAN-CVE-2024-28820 |
| Debian:13 | openvpn-auth-ldap | 2.0.4-4 | DEBIAN-CVE-2024-28820 |
| Debian:14 | openvpn-auth-ldap | 2.0.4-4 | DEBIAN-CVE-2024-28820 |
| Ubuntu:22.04:LTS | openvpn-auth-ldap | no fix listed | UBUNTU-CVE-2024-28820 |
| Ubuntu:24.04:LTS | openvpn-auth-ldap | no fix listed | UBUNTU-CVE-2024-28820 |
| Ubuntu:25.10 | openvpn-auth-ldap | no fix listed | UBUNTU-CVE-2024-28820 |
| Ubuntu:26.04:LTS | openvpn-auth-ldap | no fix listed | UBUNTU-CVE-2024-28820 |
| Ubuntu:26.10 | openvpn-auth-ldap | no fix listed | UBUNTU-CVE-2024-28820 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L