CVE-2023-50290Apache Solr: Host environment variables are published via the Metrics API
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | lucene-solr | Fix pending | UBUNTU-CVE-2023-50290 | |
| Ubuntu 26.04 | lucene-solr | Under investigation | UBUNTU-CVE-2023-50290 | |
| Ubuntu 25.10 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-50290 | |
| Ubuntu 24.04 | lucene-solr | Under investigation | UBUNTU-CVE-2023-50290 | |
| Ubuntu 22.04 | lucene-solr | Under investigation | UBUNTU-CVE-2023-50290 | |
| Ubuntu 20.04 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-50290 | |
| Ubuntu 18.04 | lucene-solr | Fix pending | UBUNTU-CVE-2023-50290 | |
| Ubuntu 16.04 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-50290 | |
| Ubuntu 14.04 | lucene-solr | Fix pending | UBUNTU-CVE-2023-50290 | |
| Maven library | org.apache.solr:solr-core | Fixed | 9.3.0 | GHSA-gg7w-pw2r-x2cq |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Solr: affected: 9.0.0 to before 9.3.0; fixed in
9.3.0
Vendor advisories:
- https://solr.apache.org/security.html#cve-2023-50290-apache-solr-allows-read-access-to-ho… (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.