{"id":"UBUNTU-CVE-2024-28820","details":"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.","modified":"2026-05-20T16:17:12.267159106Z","published":"2024-06-27T16:15:00Z","upstream":["CVE-2024-28820"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-28820"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-28820"},{"type":"REPORT","url":"https://github.com/threerings/openvpn-auth-ldap/pull/92"},{"type":"REPORT","url":"https://github.com/threerings/openvpn-auth-ldap/tags"}],"affected":[{"package":{"name":"openvpn-auth-ldap","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openvpn-auth-ldap?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-6.1","2.0.3-6.1ubuntu0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"openvpn-auth-ldap","binary_version":"2.0.3-6.1ubuntu0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28820.json"}},{"package":{"name":"openvpn-auth-ldap","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openvpn-auth-ldap?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.3-6.1ubuntu1","2.0.3-6.1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.3-6.1ubuntu2","binary_name":"openvpn-auth-ldap"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28820.json"}},{"package":{"name":"openvpn-auth-ldap","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/openvpn-auth-ldap?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4-1ubuntu1","2.0.4-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.4-1ubuntu2","binary_name":"openvpn-auth-ldap"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28820.json"}},{"package":{"name":"openvpn-auth-ldap","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openvpn-auth-ldap?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4-1ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"openvpn-auth-ldap","binary_version":"2.0.4-1ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28820.json"}},{"package":{"name":"openvpn-auth-ldap","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/openvpn-auth-ldap?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"openvpn-auth-ldap","binary_version":"2.0.4-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28820.json"}},{"package":{"name":"openvpn-auth-ldap","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/openvpn-auth-ldap?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4-4","2.0.4-5"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.4-5","binary_name":"openvpn-auth-ldap"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28820.json"}},{"package":{"name":"openvpn-auth-ldap","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/openvpn-auth-ldap?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.4-5","2.0.4-5build1"],"ecosystem_specific":{"binaries":[{"binary_name":"openvpn-auth-ldap","binary_version":"2.0.4-5build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28820.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}