Skip to content
Fencer Vulns
medium 6.5

CVE-2023-50290 json

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

published 2024-01-15 2 y ago modified 2026-09-08 2 mo ago also BIT-solr-2023-50290 , EUVD-2024-0354 , GHSA-gg7w-pw2r-x2cq

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
68.4%
EPSS 68.4% chance of exploitation in 30 days, percentile 99.3%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

  • maven org.apache.solr:solr-core 9.3.0
  • bitnami solr 9.3.0
  • Apache Software Foundation Apache Solr 9.3.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-50290 updated cvss 6.5

Solr: Host environment variables are published via the Metrics API

  • Red Hat Fuse 7.13.0
    fixed: vendor fix RHSA-2024:3354
  • Red Hat Integration Camel K 1 camel-solr camel-solr Red Hat JBoss Data Virtualization 6 solr solr Red Hat JBoss Enterprise Application Platform 6 solr-core Red Hat JBoss Enterprise Application Platform 8 solr-core Red Hat JBoss Fuse 6 solr solr Red Hat JBoss Fuse Service Works 6 solr solr
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

68.45% chance of exploitation in the next 30 days, higher than 99.3% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Apache Solr - Host Environment Variables Leak via Metrics API nuclei detection template

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.solr:solr-core
>=9.0.0, <9.3.0
9.3.0
bitnami solr
>=9.0.0, <9.3.0
9.3.0

Affected products

  • Apache Software Foundation Apache Solr

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.