Insertion of Sensitive Information into Log File Vulnerability Affects Solr Operator Versions 0.3.0-0.8.0
CVE-2024-31391
Key facts: CVE-2024-31391 is a medium severity (CVSS 6.5) vulnerability in Apache Solr Operator. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.0%, the estimated probability of exploitation in the next 30 days.
What is CVE-2024-31391?
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.
Affected Version(s)
Apache Solr Operator 0.3.0 <= 0.8.0
References
More Apache vulnerabilities
- CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache(CRITICAL)
- CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions(CRITICAL)
- CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions(CRITICAL)
- CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2(HIGH)
- CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution(CRITICAL)
- CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau(CRITICAL)
- CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module(CRITICAL)
- CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint(CRITICAL)