Skip to content

Apache Solr

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

CVE-2023-50290Published 15 Jan 2024, 09:32 UTC

Real-world risk

4.8/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.5

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from 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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Apache SolrCommon>= 9.0.0, < 9.3.09.3.0

What to do

Update to a fixed version: 9.3.0.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Nuclei scanner template (link)

EPSS 68.4% chance of exploitation in 30 days (percentile 99), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.600
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.8 × prerequisites 0.6 × threat 14.800
  4. Rounded to one decimal between 0.1 and 104.8

How the score works

Exploitation and evidence timeline

  1. 15 Jan 2024 Published
  2. 3 Dec 2026 Nuclei scanner template first seen
  3. 3 Dec 2026 Risk 4.8 (cvss fallback)

Weakness

CWE-200

References

Get alerts for Apache Solr

Free email or text alerts when a vulnerability in Apache Solr reaches risk 8 or higher. Nothing else.