CVE-2023-50298
HIGH 7.5CVSS 3.1Apache Solr's Streaming Expressions allow users to extract data from other Solr Clouds
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.
- Published
- 9 Feb 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-200CWE-922
- Also known as
- BIT-solr-2023-50298GHSA-xrj7-x7gp-wwqr
- Sources
- NVDJSONOSV GHSA-xrj7-x7gp-wwqrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | solrcpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* |
>= 6.0.0, < 8.11.3 | 8.11.3 |
| NVD | apache | solrcpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.4.1 | 9.4.1 |
| OSV | Maven | org.apache.solr:solr-solrj-streaming | >= 9.0.0, < 9.4.1 | 9.4.1 |
| OSV | Maven | org.apache.solr:solr-solrj-streaming | >= 6.0.0, < 8.11.3 | 8.11.3 |
| OSV | Maven | org.apache.solr:solr-solrj | >= 9.0.0, < 9.4.1 | 9.4.1 |
| OSV | Maven | org.apache.solr:solr-solrj | >= 6.0.0, < 8.11.3 | 8.11.3 |
References
- http://www.openwall.com/lists/oss-security/2024/02/09/2 · Mailing List, WEB
- http://www.openwall.com/lists/oss-security/2024/02/09/3 · Mailing List, WEB
- https://solr.apache.org/security.html#cve-2023-50298-apache-solr-can-expose-zookeeper-credentials-via-streaming-expressions · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-50298 · ADVISORY
- https://github.com/apache/lucene-solr/commit/61c956c426b2cfb85ccef55d1afca4335eacd269 · WEB
- https://github.com/apache/solr/commit/e2bf1f434aad873fbb24c21d46ac00e888806d98 · WEB
- https://github.com/apache/solr · PACKAGE
- https://issues.apache.org/jira/browse/SOLR-17098 · WEB
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 9 Feb 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Feb 2024)