CVE-2023-50290
MediumSolr: Host environment variables are published via the Metrics API
Published Jan 16, 2024 · Updated Oct 8, 2026 · Also known as BIT-solr-2023-50290, GHSA-gg7w-pw2r-x2cq, TR-24-0032, UBUNTU-CVE-2023-50290
Key Facts
Patch immediately- CVE-2023-50290 is a medium-severity vulnerability (CVSS 6.5 v3.1) affecting Solr (Apache), lucene-solr (debian), org.apache.solr:solr-core (maven).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 68% probability of exploitation in the next 30 days.
- Fixed versions are available, including Solr 9.3.0, org.apache.solr:solr-core 9.3.0, lucene-solr 0.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS (30-day exploit likelihood)
68%
Higher than 99.3% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2023-50290 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr. The Solr Metrics API publishes all unprotected environment variables available to each Apache Solr instance. Users are able to specify which environment variables to hide, however, the default list is designed to work for known secret Java system properties. Environment variables cannot be strictly defined in Solr, like Java system properties can be, and may be set for the entire host, unlike Java system properties which are set per-Java-proccess.
The Solr Metrics API is protected by the "metrics-read" permission. Therefore, Solr Clouds with Authorization setup will only be vulnerable via users with the "metrics-read" permission. This issue affects Apache Solr: from 9.0.0 before 9.3.0.
Users are recommended to upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API.
Affected Products
18 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| SolrApache | >= 9.0.0 | 9.3.0 |
| lucene-solrdebian | See advisory | 0 |
| org.apache.solr:solr-coremaven | >= 9.0.0 | 9.3.0 |
Patched Releases
Solr
9.3.0
org.apache.solr:solr-core
9.3.0
Timeline
Publicly disclosed
Jan 16, 2024
Last updated
Oct 8, 2026
Weakness Type
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
- advisoryRHSA-2024:3354
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50290.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-50290
- advisoryhttps://solr.apache.org/security.html#cve-2023-50290-apache-solr-allows-read-access-to-host-environment-variables
FAQ
Common Questions.
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr.
Affected: Solr (Apache) versions >= 9.0.0; lucene-solr (debian); org.apache.solr:solr-core (maven) versions >= 9.0.0. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Solr 9.3.0, org.apache.solr:solr-core 9.3.0, lucene-solr 0.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2023-50290 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo