SCA: security update for org.apache.solr:solr-core (GHSA-37vr-vmg4-jwpw)

high Tenable Self-Hosted Container Security Plugin ID 409381

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2023-50386)

See Also

https://github.com/advisories/GHSA-37vr-vmg4-jwpw

Plugin Details

Severity: High

ID: 409381

Version: Revision 1.15

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.48

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2023-50386

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/9/2024

Vulnerability Publication Date: 2/9/2024

Exploitable With

Metasploit (Apache Solr Backup/Restore APIs RCE)

Reference Information

CVE: CVE-2023-50386

cwe: CWE-434