ubuntu-cve-2021-40874
Vulnerability from osv_ubuntu
Published
2022-07-18 00:15
Modified
2026-05-20 14:53
Summary
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.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lemonldap-ng",
            "binary_version": "1.4.6-3"
          },
          {
            "binary_name": "liblemonldap-ng-common-perl",
            "binary_version": "1.4.6-3"
          },
          {
            "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_name": "liblemonldap-ng-manager-perl",
            "binary_version": "1.4.6-3"
          },
          {
            "binary_name": "liblemonldap-ng-portal-perl",
            "binary_version": "1.4.6-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "lemonldap-ng",
        "purl": "pkg:deb/ubuntu/lemonldap-ng@1.4.6-3?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.3.3-1",
        "1.4.6-1",
        "1.4.6-2",
        "1.4.6-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lemonldap-ng",
            "binary_version": "1.9.16-2"
          },
          {
            "binary_name": "lemonldap-ng-fastcgi-server",
            "binary_version": "1.9.16-2"
          },
          {
            "binary_name": "lemonldap-ng-handler",
            "binary_version": "1.9.16-2"
          },
          {
            "binary_name": "liblemonldap-ng-common-perl",
            "binary_version": "1.9.16-2"
          },
          {
            "binary_name": "liblemonldap-ng-handler-perl",
            "binary_version": "1.9.16-2"
          },
          {
            "binary_name": "liblemonldap-ng-manager-perl",
            "binary_version": "1.9.16-2"
          },
          {
            "binary_name": "liblemonldap-ng-portal-perl",
            "binary_version": "1.9.16-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "lemonldap-ng",
        "purl": "pkg:deb/ubuntu/lemonldap-ng@1.9.16-2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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_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_version": "2.0.7+ds-2"
          },
          {
            "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_name": "liblemonldap-ng-portal-perl",
            "binary_version": "2.0.7+ds-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "lemonldap-ng",
        "purl": "pkg:deb/ubuntu/lemonldap-ng@2.0.7+ds-2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.5+ds-2",
        "2.0.6+ds-2",
        "2.0.7+ds-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lemonldap-ng",
            "binary_version": "2.0.13+ds-3ubuntu1"
          },
          {
            "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_name": "liblemonldap-ng-handler-perl",
            "binary_version": "2.0.13+ds-3ubuntu1"
          },
          {
            "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "lemonldap-ng",
        "purl": "pkg:deb/ubuntu/lemonldap-ng@2.0.13+ds-3ubuntu1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.11+ds-4",
        "2.0.13+ds-3",
        "2.0.13+ds-3ubuntu1"
      ]
    },
    {
      "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_name": "lemonldap-ng-uwsgi-app",
            "binary_version": "2.18.2+ds-1"
          },
          {
            "binary_name": "liblemonldap-ng-common-perl",
            "binary_version": "2.18.2+ds-1"
          },
          {
            "binary_name": "liblemonldap-ng-handler-perl",
            "binary_version": "2.18.2+ds-1"
          },
          {
            "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "lemonldap-ng",
        "purl": "pkg:deb/ubuntu/lemonldap-ng@2.18.2+ds-1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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.21.0+ds-3"
          },
          {
            "binary_name": "lemonldap-ng-fastcgi-server",
            "binary_version": "2.21.0+ds-3"
          },
          {
            "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "lemonldap-ng",
        "purl": "pkg:deb/ubuntu/lemonldap-ng@2.21.0+ds-3?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.20.2+ds-1build1",
        "2.21.0+ds-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "lemonldap-ng",
            "binary_version": "2.22.2+ds-1"
          },
          {
            "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_name": "liblemonldap-ng-manager-perl",
            "binary_version": "2.22.2+ds-1"
          },
          {
            "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "lemonldap-ng",
        "purl": "pkg:deb/ubuntu/lemonldap-ng@2.22.2+ds-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.21.0+ds-3",
        "2.22.0+ds-2",
        "2.22.1+ds-1",
        "2.22.2+ds-1"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2021-40874",
  "modified": "2026-05-20T14:53:33Z",
  "published": "2022-07-18T00:15:00Z",
  "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"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-40874"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…