VDB

CVE-2023-50290

CVE-2023-50290 PUBLISHED CVSS 6.5 MEDIUM

Apache Solr: Host environment variables are published via the Metrics API

Reported by apache · Published January 15, 2024

solr-core is fixed in 9.3.0 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.solr:solr-coreMaven Central9.3.0
solrBitnami9.3.0
Apache SolrApache Software Foundation9.3.0
solrBitnami9.3.0
solrapache9.3.0

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
Apache Software FoundationApache Solr9.0.0
Mavenorg.apache.solr:solr-core9.0.0
Apache Software FoundationApache Solr9.0.0

Timeline

  • Jan 12, 2024 PoC Published (7 in total, the first dated here)
  • Jan 14, 2024 CVE Published
  • Jan 16, 2024 Nuclei Template
  • Jan 16, 2024 Fix Commit
  • Jan 17, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (25 in total, the first dated here)
  • Nov 19, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-50290
vulnetix vdb fixes CVE-2023-50290

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-50290/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›