8.8

CVE-2023-50386: apache software foundation apache solr

CVSS: 8.8v3.1HighModified
AliasesUBUNTU-CVE-2023-50386DEBIAN-CVE-2023-50386CGA-8f9p-76p7-74qq
Published 09-02-2024Last modified 24-04-2025

Vulnerability summary

CVE-2023-50386 is a high (CVSS 8.8) vulnerability in apache software foundation apache solr. EPSS estimates a 83.72% chance of exploitation in the next 30 days, higher than 99.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
62/100
0100
High · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
83.72%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1metasploit

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 09-02-2024
    PublishedVulnerability first disclosed.
  2. 24-04-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

83.72%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 83.72% on 18-09-2026

18-09-202618-10-2026
EPSS score
83.72%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • MetasploitMetasploitremoteVerified

    Apache Solr Backup/Restore APIs RCE

    exploit/linux/http/apache_solr_backup_restore

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Chainguard2 products
  • solr< 9.5.0-r0
  • solr-oci-compat< 9.5.0-r0
Wolfi2 products
  • solr< 9.5.0-r0
  • solr-oci-compat< 9.5.0-r0
Apache1 product
  • solr≥ 6.0.0, < 8.11.3 | ≥ 9.0.0, < 9.4.1
Apache software foundation1 product
Debian1 product
  • lucene-solr< 3.6.2+dfsg-23
Org.apache.solr1 product
  • solr-core≥ 6.0.0, < 8.11.3 | ≥ 9.0.0, < 9.4.1
Ubuntu1 product
  • lucene-solr< 3.6.2+dfsg-24

7 vendors · 9 products

References

13 links
Show all 13 references