{"id":"UBUNTU-CVE-2021-40874","details":"An issue was discovered in LemonLDAP::NG (aka lemonldap-ng) 2.0.13. When using the RESTServer plug-in to operate a REST password validation service (for another LemonLDAP::NG instance, for example) and using the Kerberos authentication method combined with another method with the Combination authentication plug-in, any password will be recognized as valid for an existing user.","modified":"2026-05-20T16:05:09.535481924Z","published":"2022-07-18T00:15:00Z","upstream":["CVE-2021-40874"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-40874"},{"type":"REPORT","url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/2612"},{"type":"REPORT","url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/66946e8f754812b375768c2124937137c856fe0c"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-40874"}],"affected":[{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-1","1.4.6-1","1.4.6-2","1.4.6-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.6-3","binary_name":"lemonldap-ng"},{"binary_version":"1.4.6-3","binary_name":"liblemonldap-ng-common-perl"},{"binary_name":"liblemonldap-ng-conf-perl","binary_version":"1.4.6-3"},{"binary_name":"liblemonldap-ng-handler-perl","binary_version":"1.4.6-3"},{"binary_version":"1.4.6-3","binary_name":"liblemonldap-ng-manager-perl"},{"binary_version":"1.4.6-3","binary_name":"liblemonldap-ng-portal-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40874.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.10-1","1.9.13-2","1.9.14-1","1.9.15-1","1.9.16-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.16-2","binary_name":"lemonldap-ng"},{"binary_name":"lemonldap-ng-fastcgi-server","binary_version":"1.9.16-2"},{"binary_version":"1.9.16-2","binary_name":"lemonldap-ng-handler"},{"binary_version":"1.9.16-2","binary_name":"liblemonldap-ng-common-perl"},{"binary_name":"liblemonldap-ng-handler-perl","binary_version":"1.9.16-2"},{"binary_version":"1.9.16-2","binary_name":"liblemonldap-ng-manager-perl"},{"binary_name":"liblemonldap-ng-portal-perl","binary_version":"1.9.16-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40874.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.5+ds-2","2.0.6+ds-2","2.0.7+ds-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.7+ds-2","binary_name":"lemonldap-ng"},{"binary_version":"2.0.7+ds-2","binary_name":"lemonldap-ng-fastcgi-server"},{"binary_version":"2.0.7+ds-2","binary_name":"lemonldap-ng-handler"},{"binary_version":"2.0.7+ds-2","binary_name":"lemonldap-ng-uwsgi-app"},{"binary_version":"2.0.7+ds-2","binary_name":"liblemonldap-ng-common-perl"},{"binary_name":"liblemonldap-ng-handler-perl","binary_version":"2.0.7+ds-2"},{"binary_name":"liblemonldap-ng-manager-perl","binary_version":"2.0.7+ds-2"},{"binary_version":"2.0.7+ds-2","binary_name":"liblemonldap-ng-portal-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40874.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.11+ds-4","2.0.13+ds-3","2.0.13+ds-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.13+ds-3ubuntu1","binary_name":"lemonldap-ng"},{"binary_name":"lemonldap-ng-fastcgi-server","binary_version":"2.0.13+ds-3ubuntu1"},{"binary_name":"lemonldap-ng-handler","binary_version":"2.0.13+ds-3ubuntu1"},{"binary_name":"lemonldap-ng-uwsgi-app","binary_version":"2.0.13+ds-3ubuntu1"},{"binary_name":"liblemonldap-ng-common-perl","binary_version":"2.0.13+ds-3ubuntu1"},{"binary_version":"2.0.13+ds-3ubuntu1","binary_name":"liblemonldap-ng-handler-perl"},{"binary_name":"liblemonldap-ng-manager-perl","binary_version":"2.0.13+ds-3ubuntu1"},{"binary_name":"liblemonldap-ng-portal-perl","binary_version":"2.0.13+ds-3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40874.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.16.2+ds-1","2.17.1+ds-1","2.17.2+ds-1","2.17.2+ds-2","2.18.1+ds-1","2.18.2+ds-1"],"ecosystem_specific":{"binaries":[{"binary_name":"lemonldap-ng","binary_version":"2.18.2+ds-1"},{"binary_name":"lemonldap-ng-fastcgi-server","binary_version":"2.18.2+ds-1"},{"binary_name":"lemonldap-ng-handler","binary_version":"2.18.2+ds-1"},{"binary_version":"2.18.2+ds-1","binary_name":"lemonldap-ng-uwsgi-app"},{"binary_name":"liblemonldap-ng-common-perl","binary_version":"2.18.2+ds-1"},{"binary_version":"2.18.2+ds-1","binary_name":"liblemonldap-ng-handler-perl"},{"binary_name":"liblemonldap-ng-manager-perl","binary_version":"2.18.2+ds-1"},{"binary_name":"liblemonldap-ng-portal-perl","binary_version":"2.18.2+ds-1"},{"binary_name":"liblemonldap-ng-ssoaas-apache-client-perl","binary_version":"2.18.2+ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40874.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.20.2+ds-1build1","2.21.0+ds-3"],"ecosystem_specific":{"binaries":[{"binary_name":"lemonldap-ng","binary_version":"2.21.0+ds-3"},{"binary_version":"2.21.0+ds-3","binary_name":"lemonldap-ng-fastcgi-server"},{"binary_name":"lemonldap-ng-handler","binary_version":"2.21.0+ds-3"},{"binary_name":"lemonldap-ng-uwsgi-app","binary_version":"2.21.0+ds-3"},{"binary_name":"liblemonldap-ng-common-perl","binary_version":"2.21.0+ds-3"},{"binary_name":"liblemonldap-ng-handler-perl","binary_version":"2.21.0+ds-3"},{"binary_name":"liblemonldap-ng-manager-perl","binary_version":"2.21.0+ds-3"},{"binary_name":"liblemonldap-ng-portal-perl","binary_version":"2.21.0+ds-3"},{"binary_name":"liblemonldap-ng-ssoaas-apache-client-perl","binary_version":"2.21.0+ds-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40874.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.21.0+ds-3","2.22.0+ds-2","2.22.1+ds-1","2.22.2+ds-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.22.2+ds-1","binary_name":"lemonldap-ng"},{"binary_name":"lemonldap-ng-fastcgi-server","binary_version":"2.22.2+ds-1"},{"binary_name":"lemonldap-ng-handler","binary_version":"2.22.2+ds-1"},{"binary_name":"lemonldap-ng-uwsgi-app","binary_version":"2.22.2+ds-1"},{"binary_name":"liblemonldap-ng-common-perl","binary_version":"2.22.2+ds-1"},{"binary_name":"liblemonldap-ng-handler-perl","binary_version":"2.22.2+ds-1"},{"binary_version":"2.22.2+ds-1","binary_name":"liblemonldap-ng-manager-perl"},{"binary_name":"liblemonldap-ng-portal-perl","binary_version":"2.22.2+ds-1"},{"binary_name":"liblemonldap-ng-ssoaas-apache-client-perl","binary_version":"2.22.2+ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40874.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}