{"id":"CVE-2023-50290","published":"2024-01-15T09:32:44Z","modified":"2025-05-09T20:18:08Z","title":"Apache Solr: Host environment variables are published via the Metrics API","vendor":"Apache Software Foundation","product":"Apache Solr","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Solr","versions":[">= 9.0.0, < 9.3.0"]}],"description":{"text":"Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr.\nThe 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.\n\nThe Solr Metrics API is protected by the \"metrics-read\" permission.\nTherefore, Solr Clouds with Authorization setup will only be vulnerable via users with the \"metrics-read\" permission.\nThis issue affects Apache Solr: from 9.0.0 before 9.3.0.\n\nUsers are recommended to upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API.\n\n","provenance":"source","from":"CVE.org"},"summary":{"text":"Apache Solr versions from 9.0.0 before 9.3.0 expose host environment variables through the Metrics API, because the default hide-list only covers known secret Java system properties and cannot strictly control environment variables, which may be set host-wide. An attacker with network access to the Solr instance who holds the \"metrics-read\" permission (and therefore valid authentication, in Solr Clouds with authorization enabled) can read the unprotected environment variables, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:13:29Z"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.68446,"percentile":0.99334,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":null,"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://solr.apache.org/security.html#cve-2023-50290-apache-solr-allows-read-access-to-host-environment-variables","tags":["vendor-advisory"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.solr:solr-core","vulnerableRanges":[">=9.0.0, <9.3.0"],"patched":["9.3.0"],"from":["GHSA-gg7w-pw2r-x2cq"],"provenance":"source"}],"advisories":[{"id":"GHSA-gg7w-pw2r-x2cq","url":"https://github.com/advisories/GHSA-gg7w-pw2r-x2cq","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.solr:solr-core","vulnerableRanges":[">=9.0.0, <9.3.0"],"patched":["9.3.0"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-0354","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0354","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-11-06","earliestUrl":"https://github.com/desaivinayak449/bug-bounty-reports-desai-vinayak","repos":[{"name":"desaivinayak449/bug-bounty-reports-desai-vinayak","url":"https://github.com/desaivinayak449/bug-bounty-reports-desai-vinayak","stars":0,"created":"2025-11-06"}]},"nuclei":[{"id":"CVE-2023-50290","name":"Apache Solr - Host Environment Variables Leak via Metrics API","severity":"medium","path":"http/cves/2023/CVE-2023-50290.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-50290.yaml"}],"first":{"date":"2025-11-06","source":"PoC-in-GitHub","url":"https://github.com/desaivinayak449/bug-bounty-reports-desai-vinayak"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-01-15","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-50290","provenance":"source"},{"date":"2025-11-06","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/desaivinayak449/bug-bounty-reports-desai-vinayak","provenance":"source"}],"speed":{"daysToPublicExploit":661,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":29.4,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.87,"detail":"percentile 0.9933"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":4.55,"detail":"base score 6.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}