Loading...
Skip to main content

CVE-2024-45216 — Improper Authentication vulnerability in...

CRITICAL

Improper Authentication vulnerability in Apache Solr

Published October 16, 2024Updated July 2, 2025Source: osv

Summary

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.

Advisory Timeline

  • First published October 16, 2024 (726 days ago).
  • Last revised July 2, 2025 — 259 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.solr:solr to 8.11.4 or later
<!-- Update pom.xml dependency version to 8.11.4 for org.apache.solr:solr -->
Maven
Update org.apache.solr:solr to 9.7.0 or later
<!-- Update pom.xml dependency version to 9.7.0 for org.apache.solr:solr -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.solr:solr
maven
All versions8.11.4
org.apache.solr:solr
maven
All versions9.7.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-287
    Improper AuthenticationMITRE
  • CWE-863
    Incorrect AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-45216?
Improper Authentication vulnerability in Apache Solr This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2024-45216?
CVE-2024-45216 affects org.apache.solr:solr. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-45216 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-mjvf-4h88-6xm3
BIT-solr-2024-45216

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies