Security mailing lists by PureSourceCode

CVE-2023-50386

HIGH 8.8CVSS 3.1

Apache Solr: Backup/Restore APIs allow for deployment of executables in malicious ConfigSets

Improper Control of Dynamically-Managed Code Resources, Unrestricted Upload of File with Dangerous Type, Inclusion of Functionality from Untrusted Control Sphere vulnerability in Apache Solr.This issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.4.1.

In the affected versions, Solr ConfigSets accepted Java jar and class files to be uploaded through the ConfigSets API.
When backing up Solr Collections, these configSet files would be saved to disk when using the LocalFileSystemRepository (the default for backups).
If the backup was saved to a directory that Solr uses in its ClassPath/ClassLoaders, then the jar and class files would be available to use with any ConfigSet, trusted or untrusted.

When Solr is run in a secure way (Authorization enabled), as is strongly suggested, this vulnerability is limited to extending the Backup permissions with the ability to add libraries.
Users are recommended to upgrade to version 8.11.3 or 9.4.1, which fix the issue.
In these versions, the following protections have been added:

  • Users are no longer able to upload files to a configSet that could be executed via a Java ClassLoader.
  • The Backup API restricts saving backups to directories that are used in the ClassLoader.
Published
9 Feb 2024
Last modified
10 Sep 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-434
Also known as
BIT-solr-2023-50386GHSA-37vr-vmg4-jwpw
Sources
NVDJSONOSV GHSA-37vr-vmg4-jwpwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache solr
cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*
>= 6.0.0, < 8.11.3 8.11.3
NVD apache solr
cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*
>= 9.0.0, < 9.4.1 9.4.1
OSV Maven org.apache.solr:solr-core >= 6.0.0, < 8.11.3 8.11.3
OSV Maven org.apache.solr:solr-core >= 9.0.0, < 9.4.1 9.4.1

References

History

  • 25 Nov 2026 20:54 UTC · NVD: first stored (published 9 Feb 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Feb 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.