Authentication Bypass Affecting solr package, versions <9.8.1-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.23% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-SOLR-10596867
  • published4 Jul 2025
  • disclosed7 Nov 2024

Introduced: 7 Nov 2024

CVE-2024-51504  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade Chainguard solr to version 9.8.1-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream solr package and not the solr package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

When using IPAuthenticationProvider in ZooKeeper Admin Server there is a possibility of Authentication Bypass by Spoofing -- this only impacts IP based authentication implemented in ZooKeeper Admin Server. Default configuration of client's IP address detection in IPAuthenticationProvider, which uses HTTP request headers, is weak and allows an attacker to bypass authentication via spoofing client's IP address in request headers. Default configuration honors X-Forwarded-For HTTP header to read client's IP address. X-Forwarded-For request header is mainly used by proxy servers to identify the client and can be easily spoofed by an attacker pretending that the request comes from a different IP address. Admin Server commands, such as snapshot and restore arbitrarily can be executed on successful exploitation which could potentially lead to information leakage or service availability issues. Users are recommended to upgrade to version 3.9.3, which fixes this issue.

CVSS Base Scores

version 3.1