CVE-2019-0193Apache Solr
Code Injection in Apache Solr DataImportHandler
High 7.2 KEV High EPSS
Follow: this CVE · Apache · Apache Solr We alert you by email or Slack (account required).
- 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.
Exploitation confirmed by CISA
The optional Apache Solr module DataImportHandler contains a code injection vulnerability.
Action required by CISA: Apply updates per vendor instructions.
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.
- Apply the vendor's security update for Solr.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was June 10, 2022.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | solr | < 7.7.3 |
| apache | solr | ≥ 8.1.0 < 8.1.2 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- issues.apache.org Mitigation Vendor Advisory
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List Patch
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Issue Tracking Mailing List
- lists.apache.org Mailing List
- lists.apache.org Issue Tracking Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Issue Tracking Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List Patch
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- www.cisa.gov US Government Resource