lucene-solr — security advisory
Insecure Default Initialization of Resource vulnerability in Apache Solr. New ConfigSets that are created via a Restore command, which copy a configSet from the backup and give it a new name, are created without setting the "trusted" metadata. ConfigSets that do not contain the flag are trusted implicitly if the metadata is missing, therefore this leads to "trusted" ConfigSets that may not have been created with an Authenticated request. "trusted" ConfigSets are able to load custom code into classloaders, therefore the flag is supposed to only be set when the request that uploads the ConfigSet is Authenticated & Authorized. This issue affects Apache Solr: from 6.6.0 before 8.11.4, from 9.0.0 before 9.7.0. This issue does not affect Solr instances that are secured via Authentication/Authorization. Users are primarily recommended to use Authentication and Authorization when running Solr. However, upgrading to version 9.7.0, or 8.11.4 will mitigate this issue otherwise.
- Products
- lucene-solr
- Affected versions
- 3.6.2+dfsg-1, 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, 3.6.2+dfsg-2, 3.6.2+dfsg-20, 3.6.2+dfsg-22, 3.6.2+dfsg-24, 3.6.2+dfsg-26, 3.6.2+dfsg-27, 3.6.2+dfsg-2ubuntu0.1~esm1, 3.6.2+dfsg-2ubuntu0.1~esm2, 3.6.2+dfsg-2ubuntu0.1~esm4, 3.6.2+dfsg-7, 3.6.2+dfsg-8, 3.6.2+dfsg-8ubuntu0.1, 3.6.2+dfsg-8ubuntu0.1+esm1
- Fixed versions
- Not specified
- CVEs
- CVE-2024-45217
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:10 UTC · Revision 1
Source evidence
Insecure Default Initialization of Resource vulnerability in Apache Solr. New ConfigSets that are created via a Restore command, which copy a configSet from the backup and give it a new name, are created without setting the "trusted" metadata. ConfigSets that do not contain the flag are trusted implicitly if the metadata is missing, therefore this leads to "trusted" ConfigSets that may not have been created with an Authenticated request. "trusted" ConfigSets are able to load custom code into classloaders, therefore the flag is supposed to only be set when the request that uploads the ConfigSet is Authenticated & Authorized. This issue affects Apache Solr: from 6.6.0 before 8.11.4, from 9.0.0 before 9.7.0. This issue does not affect Solr instances that are secured via Authentication/Authorization. Users are primarily recommended to use Authentication and Authorization when running Solr. However, upgrading to version 9.7.0, or 8.11.4 will mitigate this issue otherwise.
osv:UBUNTU-CVE-2024-45217
lucene-solr
Fixed versions: Not specified
lucene-solr
Fixed versions: Not specified
lucene-solr
Fixed versions: Not specified
lucene-solr
Fixed versions: Not specified
lucene-solr
Fixed versions: Not specified
lucene-solr
Fixed versions: Not specified
lucene-solr
Fixed versions: Not specified
lucene-solr
Fixed versions: Not specified
lucene-solr
Fixed versions: Not specified
Complete source record
{
"id": "e39af751d9da394389754ca4402a1621001d233171fe130c1b6826647e6ab05f",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-45217",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-45217",
"summary": "Insecure Default Initialization of Resource vulnerability in Apache Solr. New ConfigSets that are created via a Restore command, which copy a configSet from the backup and give it a new name, are created without setting the \"trusted\" metadata. ConfigSets that do not contain the flag are trusted implicitly if the metadata is missing, therefore this leads to \"trusted\" ConfigSets that may not have been created with an Authenticated request. \"trusted\" ConfigSets are able to load custom code into classloaders, therefore the flag is supposed to only be set when the request that uploads the ConfigSet is Authenticated & Authorized. This issue affects Apache Solr: from 6.6.0 before 8.11.4, from 9.0.0 before 9.7.0. This issue does not affect Solr instances that are secured via Authentication/Authorization. Users are primarily recommended to use Authentication and Authorization when running Solr. However, upgrading to version 9.7.0, or 8.11.4 will mitigate this issue otherwise.",
"evidence": "osv:UBUNTU-CVE-2024-45217",
"products": [
{
"name": {
"value": "lucene-solr",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.6.2+dfsg-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.6.2+dfsg-2ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
},
{
"value": "3.6.2+dfsg-2ubuntu0.1~esm2",
"evidence": "/affected/0/versions"
},
{
"value": "3.6.2+dfsg-2ubuntu0.1~esm4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "lucene-solr",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2+dfsg-7",
"evidence": "/affected/1/versions"
},
{
"value": "3.6.2+dfsg-8",
"evidence": "/affected/1/versions"
},
{
"value": "3.6.2+dfsg-8ubuntu0.1",
"evidence": "/affected/1/versions"
},
{
"value": "3.6.2+dfsg-8ubuntu0.1+esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "lucene-solr",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2+dfsg-10",
"evidence": "/affected/2/versions"
},
{
"value": "3.6.2+dfsg-11",
"evidence": "/affected/2/versions"
},
{
"value": "3.6.2+dfsg-18~18.04",
"evidence": "/affected/2/versions"
},
{
"value": "3.6.2+dfsg-18~18.04.1~esm2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "lucene-solr",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2+dfsg-20",
"evidence": "/affected/3/versions"
},
{
"value": "3.6.2+dfsg-22",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "lucene-solr",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2+dfsg-24",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "lucene-solr",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2+dfsg-26",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "lucene-solr",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2+dfsg-26",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "lucene-solr",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2+dfsg-27",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "lucene-solr",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.2+dfsg-26",
"evidence": "/affected/8/versions"
},
{
"value": "3.6.2+dfsg-27",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2024-45217",
"aliases": [
"UBUNTU-CVE-2024-45217"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-infra-legacy%2Ftrusty",
"ecosystem": "Ubuntu:Pro:14.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45217.json"
},
"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_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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"3.6.2+dfsg-7",
"3.6.2+dfsg-8",
"3.6.2+dfsg-8ubuntu0.1",
"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-45217.json"
},
"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_name": "solr-tomcat",
"binary_version": "3.6.2+dfsg-8ubuntu0.1+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45217.json"
},
"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_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_name": "solr-tomcat",
"binary_version": "3.6.2+dfsg-18~18.04.1~esm2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"3.6.2+dfsg-20",
"3.6.2+dfsg-22"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45217.json"
},
"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_name": "solr-jetty",
"binary_version": "3.6.2+dfsg-22"
},
{
"binary_name": "solr-tomcat",
"binary_version": "3.6.2+dfsg-22"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.6.2+dfsg-24"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45217.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.6.2+dfsg-26"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45217.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.6.2+dfsg-26"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45217.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.6.2+dfsg-27"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45217.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-27"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-27"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "lucene-solr",
"purl": "pkg:deb/ubuntu/lucene-solr?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.6.2+dfsg-26",
"3.6.2+dfsg-27"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45217.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblucene3-contrib-java",
"binary_version": "3.6.2+dfsg-27"
},
{
"binary_name": "liblucene3-java",
"binary_version": "3.6.2+dfsg-27"
}
]
}
}
],
"modified": "2026-10-17T12:56:39.533794868Z",
"provider": "osv",
"upstream": [
"CVE-2024-45217"
],
"references": [
"https://ubuntu.com/security/CVE-2024-45217",
"https://www.cve.org/CVERecord?id=CVE-2024-45217",
"https://solr.apache.org/security.html#cve-2024-45217-apache-solr-configsets-created-during-a-backup-restore-command-are-trusted-implicitly"
]
},
"related_cves": [
{
"value": "CVE-2024-45217",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355922,
"published_at": "2024-10-16T08:15:00+00:00"
}