Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-35472

An issue was discovered in LemonLDAP::NG before 2.0.12. Session cache corruption can lead to authorization bypass or spoofing. By running a loop that makes many authentication attempts, an attacker might alternately be authenticated as one of two different users.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-35472
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:49 UTC · Revision 1

Source evidence

CVE-2021-35472

core-osv · Original source

Published 30 Jul 2021, 14:15 UTC

An issue was discovered in LemonLDAP::NG before 2.0.12. Session cache corruption can lead to authorization bypass or spoofing. By running a loop that makes many authentication attempts, an attacker might alternately be authenticated as one of two different users.

osv:CVE-2021-35472
Complete source record
{
  "id": "fad6522d3f98ff0f8d0448e0cd4027a298f52a360490fc0957ff16c0ccd82988",
  "url": "https://osv.dev/vulnerability/CVE-2021-35472",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-35472",
    "summary": "An issue was discovered in LemonLDAP::NG before 2.0.12. Session cache corruption can lead to authorization bypass or spoofing. By running a loop that makes many authentication attempts, an attacker might alternately be authenticated as one of two different users.",
    "evidence": "osv:CVE-2021-35472",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-35472",
      "aliases": [
        "CVE-2021-35472"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "01cdeb8f8a689b1bd6548a55b3be2775fa8aad2d"
                },
                {
                  "fixed": "8d3b763b6af2b8a9c4ad2765fbfabffec8a73af5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:lemonldap-ng:lemonldap\\:\\:ng:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.0.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8d3b763b6af2b8a9c4ad2765fbfabffec8a73af5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.0.2",
            "ubuntu/disco",
            "debian/buster",
            "v2.0.11",
            "ubuntu/hirsute",
            "debian/bullseye",
            "v2.0.10",
            "v2.0.9",
            "v2.0.8",
            "ubuntu/groovy",
            "v2.0.7",
            "ubuntu/focal",
            "v2.0.6",
            "v2.0.4",
            "v2.0.3",
            "v2.0.1",
            "v2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-35472.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:46.171279566Z",
      "provider": "osv",
      "references": [
        "https://www.debian.org/security/2021/dsa-4943",
        "https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/8d3b763b6af2b8a9c4ad2765fbfabffec8a73af5",
        "https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/2539",
        "https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/tags"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-35472",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386122,
  "published_at": "2021-07-30T14:15:17.887+00:00"
}