{"id":"UBUNTU-CVE-2023-50291","details":"Insufficiently Protected Credentials vulnerability in Apache Solr. This issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.3.0. One of the two endpoints that publishes the Solr process' Java system properties, /admin/info/properties, was only setup to hide system properties that had \"password\" contained in the name. There are a number of sensitive system properties, such as \"basicauth\" and \"aws.secretKey\" do not contain \"password\", thus their values were published via the \"/admin/info/properties\" endpoint. This endpoint populates the list of System Properties on the home screen of the Solr Admin page, making the exposed credentials visible in the UI. This /admin/info/properties endpoint is protected under the \"config-read\" permission. Therefore, Solr Clouds with Authorization enabled will only be vulnerable through logged-in users that have the \"config-read\" permission. Users are recommended to upgrade to version 9.3.0 or 8.11.3, which fixes the issue. A single option now controls hiding Java system property for all endpoints, \"-Dsolr.hiddenSysProps\". By default all known sensitive properties are hidden (including \"-Dbasicauth\"), as well as any property with a name containing \"secret\" or \"password\". Users who cannot upgrade can also use the following Java system property to fix the issue:   '-Dsolr.redaction.system.pattern=.*(password|secret|basicauth).*'","modified":"2026-05-20T16:13:55.576893674Z","published":"2024-02-09T18:15:00Z","upstream":["CVE-2023-50291"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-50291"},{"type":"REPORT","url":"https://solr.apache.org/security.html#cve-2023-50291-apache-solr-can-leak-certain-passwords-due-to-system-property-redaction-logic-inconsistencies"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2024/02/09/4"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-50291"}],"affected":[{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-1","3.6.2+dfsg-2","3.6.2+dfsg-2ubuntu0.1~esm1","3.6.2+dfsg-2ubuntu0.1~esm2","3.6.2+dfsg-2ubuntu0.1~esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"liblucene3-contrib-java","binary_version":"3.6.2+dfsg-2ubuntu0.1~esm4"},{"binary_version":"3.6.2+dfsg-2ubuntu0.1~esm4","binary_name":"liblucene3-java"},{"binary_name":"libsolr-java","binary_version":"3.6.2+dfsg-2ubuntu0.1~esm4"},{"binary_name":"solr-common","binary_version":"3.6.2+dfsg-2ubuntu0.1~esm4"},{"binary_name":"solr-jetty","binary_version":"3.6.2+dfsg-2ubuntu0.1~esm4"},{"binary_name":"solr-tomcat","binary_version":"3.6.2+dfsg-2ubuntu0.1~esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50291.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-7","3.6.2+dfsg-8","3.6.2+dfsg-8ubuntu0.1","3.6.2+dfsg-8ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblucene3-contrib-java","binary_version":"3.6.2+dfsg-8ubuntu0.1+esm1"},{"binary_name":"liblucene3-java","binary_version":"3.6.2+dfsg-8ubuntu0.1+esm1"},{"binary_name":"libsolr-java","binary_version":"3.6.2+dfsg-8ubuntu0.1+esm1"},{"binary_name":"solr-common","binary_version":"3.6.2+dfsg-8ubuntu0.1+esm1"},{"binary_name":"solr-jetty","binary_version":"3.6.2+dfsg-8ubuntu0.1+esm1"},{"binary_version":"3.6.2+dfsg-8ubuntu0.1+esm1","binary_name":"solr-tomcat"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50291.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-10","3.6.2+dfsg-11","3.6.2+dfsg-18~18.04","3.6.2+dfsg-18~18.04.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.2+dfsg-18~18.04.1~esm2","binary_name":"liblucene3-contrib-java"},{"binary_version":"3.6.2+dfsg-18~18.04.1~esm2","binary_name":"liblucene3-java"},{"binary_name":"libsolr-java","binary_version":"3.6.2+dfsg-18~18.04.1~esm2"},{"binary_name":"solr-common","binary_version":"3.6.2+dfsg-18~18.04.1~esm2"},{"binary_name":"solr-jetty","binary_version":"3.6.2+dfsg-18~18.04.1~esm2"},{"binary_version":"3.6.2+dfsg-18~18.04.1~esm2","binary_name":"solr-tomcat"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50291.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-20","3.6.2+dfsg-22"],"ecosystem_specific":{"binaries":[{"binary_name":"liblucene3-contrib-java","binary_version":"3.6.2+dfsg-22"},{"binary_name":"liblucene3-java","binary_version":"3.6.2+dfsg-22"},{"binary_name":"libsolr-java","binary_version":"3.6.2+dfsg-22"},{"binary_name":"solr-common","binary_version":"3.6.2+dfsg-22"},{"binary_version":"3.6.2+dfsg-22","binary_name":"solr-jetty"},{"binary_name":"solr-tomcat","binary_version":"3.6.2+dfsg-22"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50291.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-24"],"ecosystem_specific":{"binaries":[{"binary_name":"liblucene3-contrib-java","binary_version":"3.6.2+dfsg-24"},{"binary_name":"liblucene3-java","binary_version":"3.6.2+dfsg-24"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50291.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-26"],"ecosystem_specific":{"binaries":[{"binary_name":"liblucene3-contrib-java","binary_version":"3.6.2+dfsg-26"},{"binary_name":"liblucene3-java","binary_version":"3.6.2+dfsg-26"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50291.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/lucene-solr?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-26"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.2+dfsg-26","binary_name":"liblucene3-contrib-java"},{"binary_name":"liblucene3-java","binary_version":"3.6.2+dfsg-26"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50291.json"}},{"package":{"name":"lucene-solr","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/lucene-solr?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-26","3.6.2+dfsg-27"],"ecosystem_specific":{"binaries":[{"binary_name":"liblucene3-contrib-java","binary_version":"3.6.2+dfsg-27"},{"binary_version":"3.6.2+dfsg-27","binary_name":"liblucene3-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-50291.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}