GHSA-gg7w-pw2r-x2cq

Suggest an improvement
Source
https://github.com/advisories/GHSA-gg7w-pw2r-x2cq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-gg7w-pw2r-x2cq/GHSA-gg7w-pw2r-x2cq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gg7w-pw2r-x2cq
Aliases
Published
2024-01-15T12:30:19Z
Modified
2024-02-16T08:19:52.100752Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Apache Solr allows read access to host environmet variables
Details

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.

Database specific
{
    "nvd_published_at": "2024-01-15T10:15:26Z",
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-16T20:36:50Z"
}
References

Affected packages

Maven / org.apache.solr:solr-core

Package

Name
org.apache.solr:solr-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.solr/solr-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
9.0.0
Fixed
9.3.0

Affected versions

9.*

9.0.0
9.1.0
9.1.1
9.2.0
9.2.1