Apache Solr Operator: Solr-Operator liveness and readiness probes may leak basic auth credentials
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-532.
Summary
Insertion of Sensitive Information into Log File vulnerability in the Apache Solr Operator. This issue affects all versions of the Apache Solr Operator from 0.3.0 through 0.8.0. When asked to bootstrap Solr security, the operator will enable basic authentication and create several accounts for accessing Solr: including the "solr" and "admin" accounts for use by end-users, and a "k8s-oper" account which the operator uses for its own requests to Solr. One common source of these operator requests is healthchecks: liveness, readiness, and startup probes are all used to determine Solr's health and ability to receive traffic. By default, the operator configures the Solr APIs used for these probes to be exempt from authentication, but users may specifically request that authentication be required on probe endpoints as well. Whenever one of these probes would fail, if authentication was in use, the Solr Operator would create a Kubernetes "event" containing the username and password of the "k8s-oper" account. Within the affected version range, this vulnerability affects any solrcloud resource which (1) bootstrapped security through use of the `.solrOptions.security.authenticationType=basic` option, and (2) required authentication be used on probes by setting `.solrOptions.security.probesRequireAuth=true`. Users are recommended to upgrade to Solr Operator version 0.8.1, which fixes this issue by ensuring that probes no longer print the credentials used for Solr requests. Users may also mitigate the vulnerability by disabling authentication on their healthcheck probes using the setting `.solrOptions.security.probesRequireAuth=false`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Solr Operator | 0.3.0 – 0.8.0 | — | No fix listed | CNA |
| — | github.com/apache/solr-operator (Go) | 0.3.0 to before 0.8.1 | 0.8.1 | Patch available | GHSA-g9qx-25vj-rf53 |
- Apache Solr Operator VendorApache Affected 0.3.0 – 0.8.0 Fixed in — No fix listed CNA
- github.com/apache/solr-operator (Go) Vendor— Affected 0.3.0 to before 0.8.1 Fixed in 0.8.1 Patch available GHSA-g9qx-25vj-rf53
Remediation
- Fix · GHSA-g9qx-25vj-rf53 github.com/apache/solr-operator (Go) Fixed in 0.8.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Red Hat Integration Camel K 1 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
Not affected: 3 products
- Red Hat Data Grid 8
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat build of Apache Camel for Spring Boot 3
Timeline
- 2026-10-02 Threatist record created from CVE-2024-31391
- 2026-10-03 Alias added: GHSA-g9qx-25vj-rf53
References
Sources
- CVE-2024-31391 · CVE Program
- CVE-2024-31391 · NVD
- FIRST EPSS
- GHSA-g9qx-25vj-rf53 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-31391 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences