CVEfocus › CVE database › CVE-2023-50290

CVE-2023-50290Apache Solr: Host environment variables are published via the Metrics API

CVSS 6.5 MediumEPSS 8.6% (higher than 96% of CVEs)Published 2024-01-15Updated 2025-05-09Assigner: apache

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.

CWE-200

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

1Fixed
3Fix pending
3Under investigation
3Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10lucene-solrFix pendingUBUNTU-CVE-2023-50290
Ubuntu 26.04lucene-solrUnder investigationUBUNTU-CVE-2023-50290
Ubuntu 25.10lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50290
Ubuntu 24.04lucene-solrUnder investigationUBUNTU-CVE-2023-50290
Ubuntu 22.04lucene-solrUnder investigationUBUNTU-CVE-2023-50290
Ubuntu 20.04lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50290
Ubuntu 18.04lucene-solrFix pendingUBUNTU-CVE-2023-50290
Ubuntu 16.04lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-50290
Ubuntu 14.04lucene-solrFix pendingUBUNTU-CVE-2023-50290
Maven libraryorg.apache.solr:solr-coreFixed9.3.0GHSA-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.

Vendor advisories:

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.