Skip to content
Heist/ feed
Back to feed
Critical

lucene-solr — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-45216

Improper Authentication vulnerability in Apache Solr. Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path. This fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing. This issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0. Users are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.

Products
lucene-solr
Affected versions
3.6.2+dfsg-1, 3.6.2+dfsg-10, 3.6.2+dfsg-11, 3.6.2+dfsg-18~18.04, 3.6.2+dfsg-18~18.04.1~esm2, 3.6.2+dfsg-2, 3.6.2+dfsg-20, 3.6.2+dfsg-22, 3.6.2+dfsg-24, 3.6.2+dfsg-26, 3.6.2+dfsg-27, 3.6.2+dfsg-2ubuntu0.1~esm1, 3.6.2+dfsg-2ubuntu0.1~esm2, 3.6.2+dfsg-2ubuntu0.1~esm4, 3.6.2+dfsg-7, 3.6.2+dfsg-8, 3.6.2+dfsg-8ubuntu0.1, 3.6.2+dfsg-8ubuntu0.1+esm1
Fixed versions
Not specified
CVEs
CVE-2024-45216
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:22 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-45216

core-osv · Original source

Published 16 Oct 2024, 08:15 UTC

Improper Authentication vulnerability in Apache Solr. Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path. This fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing. This issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0. Users are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.

osv:UBUNTU-CVE-2024-45216

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

lucene-solr

Fixed versions: Not specified

Complete source record
{
  "id": "3756d93c52fd9ade7e2cc3fdebdf7dde230a427d66183179d241e0ea0fa5e93d",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-45216",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-45216",
    "summary": "Improper Authentication vulnerability in Apache Solr. Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path. This fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing. This issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0. Users are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.",
    "evidence": "osv:UBUNTU-CVE-2024-45216",
    "products": [
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2+dfsg-2ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2+dfsg-2ubuntu0.1~esm2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2+dfsg-2ubuntu0.1~esm4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-7",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.6.2+dfsg-8",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.6.2+dfsg-8ubuntu0.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.6.2+dfsg-8ubuntu0.1+esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-10",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.6.2+dfsg-11",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.6.2+dfsg-18~18.04",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.6.2+dfsg-18~18.04.1~esm2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-20",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.6.2+dfsg-22",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-24",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-26",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-26",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-27",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lucene-solr",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.2+dfsg-26",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "3.6.2+dfsg-27",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2024-45216",
      "aliases": [
        "UBUNTU-CVE-2024-45216"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-1",
            "3.6.2+dfsg-2",
            "3.6.2+dfsg-2ubuntu0.1~esm1",
            "3.6.2+dfsg-2ubuntu0.1~esm2",
            "3.6.2+dfsg-2ubuntu0.1~esm4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "libsolr-java",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "solr-common",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "solr-jetty",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "solr-tomcat",
                "binary_version": "3.6.2+dfsg-2ubuntu0.1~esm4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-7",
            "3.6.2+dfsg-8",
            "3.6.2+dfsg-8ubuntu0.1",
            "3.6.2+dfsg-8ubuntu0.1+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "libsolr-java",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "solr-common",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "solr-jetty",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              },
              {
                "binary_name": "solr-tomcat",
                "binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-10",
            "3.6.2+dfsg-11",
            "3.6.2+dfsg-18~18.04",
            "3.6.2+dfsg-18~18.04.1~esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "libsolr-java",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "solr-common",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "solr-jetty",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              },
              {
                "binary_name": "solr-tomcat",
                "binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-20",
            "3.6.2+dfsg-22"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "libsolr-java",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "solr-common",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "solr-jetty",
                "binary_version": "3.6.2+dfsg-22"
              },
              {
                "binary_name": "solr-tomcat",
                "binary_version": "3.6.2+dfsg-22"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-24"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-24"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-24"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-26"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-26"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-26"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.6.2+dfsg-26"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-26"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-26"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.6.2+dfsg-27"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-27"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-27"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lucene-solr",
            "purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.6.2+dfsg-26",
            "3.6.2+dfsg-27"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "liblucene3-contrib-java",
                "binary_version": "3.6.2+dfsg-27"
              },
              {
                "binary_name": "liblucene3-java",
                "binary_version": "3.6.2+dfsg-27"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:45.461756819Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-45216"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-45216",
        "https://www.cve.org/CVERecord?id=CVE-2024-45216",
        "https://solr.apache.org/security.html#cve-2024-45216-apache-solr-authentication-bypass-possible-using-a-fake-url-path-ending"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-45216",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356164,
  "published_at": "2024-10-16T08:15:00+00:00"
}