Live threats

All CVEs / Apache

CVE-2019-0193Apache Solr

Code Injection in Apache Solr DataImportHandler

High 7.2 KEV High EPSS

Priority
52
CVSS 3.1
7.2
EPSS
83.3%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
In KEV since
Dec 10, 2021
CISA deadline
Jun 10, 2022
Ransomware use
Unknown
Published
Aug 1, 2019
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

Apache Solr's DataImportHandler module allows the entire configuration to be specified via the "dataConfig" request parameter, enabling code injection. An authenticated attacker can execute arbitrary code by exploiting this functionality in debug mode. CISA confirmed this vulnerability as exploited in the wild.

Show the original NVD text

In Apache Solr, the DataImportHandler, an optional but popular module to pull in data from databases and other sources, has a feature in which the whole DIH configuration can come from a request's "dataConfig" parameter. The debug mode of the DIH admin screen uses this to allow convenient debugging / development of a DIH config. Since a DIH config can contain scripts, this parameter is a security risk. Starting with version 8.2.0 of Solr, use of this parameter requires setting the Java System property "enable.dih.dataConfigParam" to true.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

The optional Apache Solr module DataImportHandler contains a code injection vulnerability.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 7.7.3, 8.1.2, 8.2.0

Update Apache Solr to version 7.7.3, 8.1.2 or later. Alternatively, set the Java System property "enable.dih.dataConfigParam" to false to disable the parameter.

Vendor advisory · issues.apache.org ↗

  1. Apply the vendor's security update for Solr.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was June 10, 2022.
  3. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.solr:solr-core < 8.2.0 8.2.0 —

Per OSV / GitHub Advisories (GHSA-3gm7-v7vw-866c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachesolr< 7.7.3
apachesolr≥ 8.1.0 < 8.1.2
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.