cve.bz

CVE-2023-50386 apache solr

8.8 highExploitEPSS 84%Fix available

High (8.8) in apache solr. EPSS 84% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.solr:solr-core 8.11.3, 9.4.1.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
84% (unchanged from 84% a week ago; 84% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-04-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-434 Unrestricted Upload of File with Dangerous Type
CWE-913 Improper Control of Dynamically-Managed Code Resources
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-50386 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-50386?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-50386?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-50386 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Solrfrom 6.0.0 through 8.11.2
Apache Software Foundation Apache Solrfrom 9.0.0 before 9.4.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-37vr-vmg4-jwpwMavenorg.apache.solr:solr-core>=6.0.0 <8.11.38.11.3
GHSA-37vr-vmg4-jwpwMavenorg.apache.solr:solr-core>=9.0.0 <9.4.19.4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14lucene-solr3.6.2+dfsg-23DEBIAN-CVE-2023-50386

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Data Grid 8solrNot affected
Red Hat Fuse 7solrNot affected
Red Hat Integration Camel K 1camel-solrNot affected
Red Hat JBoss Enterprise Application Platform 6solr-coreNot affected
Red Hat JBoss Enterprise Application Platform 8solr-coreNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-50386.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON