CVE-2024-28820 Memory corruption in n/a
Attackers with valid LDAP credentials can trigger a buffer overflow in the OpenVPN Auth-LDAP plugin by sending a malformed challenge/response password, potentially causing crashes or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-28820?
CVE-2024-28820 is a medium-severity memory corruption vulnerability in n/a, published on 27 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Weakness: CWE-125
Which versions are affected by CVE-2024-28820?
How do I fix CVE-2024-28820?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-28820 being exploited?
There is no known exploitation of CVE-2024-28820 in the wild and no public exploit code.
Sources
Also known as ALPINE-CVE-2024-28820, DEBIAN-CVE-2024-28820, GHSA-wv29-6vvq-vc4h, UBUNTU-CVE-2024-28820.