Skip to content
Heist/ feed
Back to feed
CriticalFix available

lemonldap-ng — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-40874

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.

Products
lemonldap-ng
Affected versions
Not specified
Fixed versions
2.0.14+ds-1
CVEs
CVE-2021-40874
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:40 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-40874

core-osv · Original source

Published 18 Jul 2022, 00:15 UTC

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.

osv:DEBIAN-CVE-2021-40874

lemonldap-ng

Fixed versions: 2.0.14+ds-1

lemonldap-ng

Fixed versions: 2.0.14+ds-1

lemonldap-ng

Fixed versions: 2.0.14+ds-1

Complete source record
{
  "id": "c9a670d74c17cd6ab9eb21448865f23271b82d4e13280f9945e9097c73b577aa",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-40874",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-40874",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2021-40874",
    "products": [
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.14+ds-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.14+ds-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.0.14+ds-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2021-40874",
      "aliases": [
        "DEBIAN-CVE-2021-40874"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.14+ds-1"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/debian/lemonldap-ng?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40874.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.14+ds-1"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/debian/lemonldap-ng?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40874.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.0.14+ds-1"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/debian/lemonldap-ng?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40874.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:33.868426003Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-40874"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-40874"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-40874",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421908,
  "published_at": "2022-07-18T00:15:08.373+00:00"
}