CVE-2023-50298
Apache Solr: Solr can expose ZooKeeper credentials via Streaming Expressions
Also known as BIT-solr-2023-50298, GHSA-xrj7-x7gp-wwqr
Mitigation
- Upgrade org.apache.solr:solr-solrj-streaming to one of 9.4.1, 8.11.3 (or later in the same release line).
- Upgrade org.apache.solr:solr-solrj to one of 9.4.1, 8.11.3 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.solr:solr-solrj-streaming (>= 9.0.0, < 9.4.1)
- Projects that depend on Maven package org.apache.solr:solr-solrj (>= 9.0.0, < 9.4.1)
- Anyone running Apache Software Foundation Apache Solr >= 6.0.0, <= 8.11.2; >= 9.0.0, < 9.4.1
Vulnerability facts
- Affected
- org.apache.solr:solr-solrj-streaming >= 9.0.0, < 9.4.1; org.apache.solr:solr-solrj >= 9.0.0, < 9.4.1
- Fixed in
- 9.4.1, 8.11.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.70% chance of exploitation in 30 days (percentile 78, 2026-11-26)
- CWE
- CWE-200
- Modified
Description
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr.This issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.4.1. Solr Streaming Expressions allows users to extract data from other Solr Clouds, using a "zkHost" parameter. When original SolrCloud is setup to use ZooKeeper credentials and ACLs, they will be sent to whatever "zkHost" the user provides. An attacker could setup a server to mock ZooKeeper, that accepts ZooKeeper requests with credentials and ACLs and extracts the sensitive information, then send a streaming expression using the mock server's address in "zkHost". Streaming Expressions are exposed via the "/streaming" handler, with "read" permissions. Users are recommended to upgrade to version 8.11.3 or 9.4.1, which fix the issue. From these versions on, only zkHost values that have the same server address (regardless of chroot), will use the given ZooKeeper credentials and ACLs when connecting.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.solr:solr-solrj-streaming | >= 9.0.0, < 9.4.1 | 9.4.1, 8.11.3 | osv |
| Maven org.apache.solr:solr-solrj | >= 9.0.0, < 9.4.1 | 9.4.1, 8.11.3 | osv |
| Apache Software Foundation Apache Solr | >= 6.0.0, <= 8.11.2; >= 9.0.0, < 9.4.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-50298. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-50298.md Affected: org.apache.solr:solr-solrj-streaming >= 9.0.0, < 9.4.1; org.apache.solr:solr-solrj >= 9.0.0, < 9.4.1 Fixed in: 9.4.1, 8.11.3 Steps: 1. Search this machine and project for org.apache.solr:solr-solrj-streaming (Maven), org.apache.solr:solr-solrj (Maven), Apache Software Foundation Apache Solr: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2023-50298 being exploited?
There is no confirmed exploitation: CVE-2023-50298 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.70% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-50298?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-50298?
org.apache.solr:solr-solrj-streaming >= 9.0.0, < 9.4.1; org.apache.solr:solr-solrj >= 9.0.0, < 9.4.1.
Is there a fix for CVE-2023-50298?
Yes. Fixed in 9.4.1, 8.11.3. Upgrade org.apache.solr:solr-solrj-streaming to one of 9.4.1, 8.11.3 (or later in the same release line). Upgrade org.apache.solr:solr-solrj to one of 9.4.1, 8.11.3 (or later in the same release line).
How do I check if I'm affected by CVE-2023-50298?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.