{"id":"CVE-2021-40874","aliases":["DEBIAN-CVE-2021-40874","EUVD-2021-28029","GHSA-gvrq-49rv-2rq7","UBUNTU-CVE-2021-40874"],"status":"published","title":"An issue was discovered in LemonLDAP::NG (aka lemonldap-ng) 2.0.13. When using the RESTServer...","description":"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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01187,"percentile":0.68319,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287"],"published":"2022-07-17T23:16:37Z","modified":"2026-10-23T18:03:33Z","fixes":[{"ecosystem":"Debian:12","package":"lemonldap-ng","fixed_in":["2.0.14+ds-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"lemonldap-ng","fixed_in":["2.0.14+ds-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"lemonldap-ng","fixed_in":["2.0.14+ds-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.14+ds-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.14+ds-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.14+ds-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-1","1.4.6-1","1.4.6-2","1.4.6-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"lemonldap-ng","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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.5+ds-2","2.0.6+ds-2","2.0.7+ds-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.11+ds-4","2.0.13+ds-3","2.0.13+ds-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"lemonldap-ng","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"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.20.2+ds-1build1","2.21.0+ds-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.22.2+ds-1","2.22.3+ds-1","2.23.0+ds-3","2.23.0+ds-4","2.23.2+ds-1","2.23.2+ds-2","2.23.3+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"lemonldap-ng","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"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"lemonldap-ng","product":"lemonldap\\"}],"references":[{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/2612","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40874"},{"url":"https://github.com/advisories/GHSA-gvrq-49rv-2rq7"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-40874","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-40874","tags":["report"]},{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/66946e8f754812b375768c2124937137c856fe0c","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40874","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-40874","description":"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.","status":"published","published":"2022-07-17T23:16:37Z","modified":"2024-08-04T02:51:07.756Z","updated_at":"2026-11-02T14:33:01.495293Z"}],"euvd":[{"id":"EUVD-2021-28029","description":"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.","status":"published","published":"2022-07-17T23:16:37Z","modified":"2024-08-04T02:51:07Z","updated_at":"2026-11-03T03:24:19.692229Z"}],"ghsa":[{"id":"GHSA-gvrq-49rv-2rq7","title":"An issue was discovered in LemonLDAP::NG (aka lemonldap-ng) 2.0.13. When using the RESTServer...","description":"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.","status":"published","published":"2022-07-19T00:00:31Z","modified":"2023-01-27T05:06:08Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:42:50.418716Z"}],"nvd":[{"id":"CVE-2021-40874","description":"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.","status":"published","published":"2022-07-18T00:15:08.373Z","modified":"2026-06-17T04:07:34.903Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"CVE-2021-40874","description":"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.","status":"published","published":"2022-07-18T00:15:08.373Z","modified":"2026-10-20T10:54:56.721479166Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"DEBIAN-CVE-2021-40874","description":"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.","status":"published","published":"2022-07-18T00:15:08.373Z","modified":"2026-10-23T18:03:33.868426003Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:35.521549Z"},{"id":"UBUNTU-CVE-2021-40874","description":"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.","status":"published","published":"2022-07-18T00:15:00Z","modified":"2026-10-17T12:56:20.781283944Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:29.220315Z"}]}}
