{"id":"UBUNTU-CVE-2024-45216","details":"Improper Authentication vulnerability in Apache Solr. Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path. This fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing. This issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0. Users are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.","modified":"2026-05-20T16:09:06.803744172Z","published":"2024-10-16T08:15:00Z","upstream":["CVE-2024-45216"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-45216"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-45216"},{"type":"REPORT","url":"https://solr.apache.org/security.html#cve-2024-45216-apache-solr-authentication-bypass-possible-using-a-fake-url-path-ending"}],"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_name":"liblucene3-java","binary_version":"3.6.2+dfsg-2ubuntu0.1~esm4"},{"binary_version":"3.6.2+dfsg-2ubuntu0.1~esm4","binary_name":"libsolr-java"},{"binary_version":"3.6.2+dfsg-2ubuntu0.1~esm4","binary_name":"solr-common"},{"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/2024/UBUNTU-CVE-2024-45216.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_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_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_name":"solr-tomcat","binary_version":"3.6.2+dfsg-8ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.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_name":"liblucene3-contrib-java","binary_version":"3.6.2+dfsg-18~18.04.1~esm2"},{"binary_name":"liblucene3-java","binary_version":"3.6.2+dfsg-18~18.04.1~esm2"},{"binary_name":"libsolr-java","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-common"},{"binary_name":"solr-jetty","binary_version":"3.6.2+dfsg-18~18.04.1~esm2"},{"binary_name":"solr-tomcat","binary_version":"3.6.2+dfsg-18~18.04.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.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_version":"3.6.2+dfsg-22","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_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/2024/UBUNTU-CVE-2024-45216.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_version":"3.6.2+dfsg-24","binary_name":"liblucene3-contrib-java"},{"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/2024/UBUNTU-CVE-2024-45216.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_version":"3.6.2+dfsg-26","binary_name":"liblucene3-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45216.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_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/2024/UBUNTU-CVE-2024-45216.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/2024/UBUNTU-CVE-2024-45216.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:H/A:H"},{"type":"Ubuntu","score":"medium"}]}