solr: Remote Code Execution via DataImportHandler
Published Aug 1, 2019 ·Due Jun 10, 2022
7.2
HIGHCVSS 3.1
EPSS 83.55%
Description
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.
Affected products
-
- Version Apache Solr all prior to 8.2.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache | Apache Solr | n/a |
|
Configuration 2
- 8.0
- 9.0
No data.
Red Hat Fuse 7
camel-solr
Not affected
Red Hat JBoss Data Virtualization 6
solr-core
Not affected
Red Hat JBoss Enterprise Application Platform 6
solr-core
Not affected
Red Hat JBoss Fuse 6
solr-core
Not affected
Red Hat JBoss Fuse Service Works 6
solr-core
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7 | camel-solr | Not affected | n/a |
| Red Hat JBoss Data Virtualization 6 | solr-core | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | solr-core | Not affected | n/a |
| Red Hat JBoss Fuse 6 | solr-core | Not affected | n/a |
| Red Hat JBoss Fuse Service Works 6 | solr-core | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Edit solrconfig.xml to configure all DataImportHandler usages with an "invariants" section listing the "dataConfig" parameter set to am empty string, or ensure your network settings are configured so that only trusted traffic communicates with Solr, especially to the DataImportHandler (although this is a best practice regardless) (ref: https://issues.apache.org/jira/browse/SOLR-13669)
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
AV:N/AC:L/Au:S/C:C/I:C/A:C
Date Added
Dec 10, 2021
Patch Due
Jun 10, 2022
Required Action
Apply updates per vendor instructions.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
ActiveAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Feb 6, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (23 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 83.55% (0.83547) | 99.68th | v5 (v2026.06.15) |
| Jun 15, 2026 | 83.55% (0.83547) | 99.65th | v5 (v2026.06.15) |
| Mar 17, 2025 | 93.38% (0.93381) | 99.81th | v4 (v2025.03.14) |
| Dec 12, 2024 | 93.51% (0.93505) | 99.21th | v3 (v2023.03.01) |
| Jul 25, 2024 | 93.51% (0.93505) | 99.13th | v3 (v2023.03.01) |
| May 21, 2024 | 95.91% (0.95910) | 99.45th | v3 (v2023.03.01) |
| Feb 7, 2024 | 96.05% (0.96050) | 99.37th | v3 (v2023.03.01) |
| Dec 28, 2023 | 94.80% (0.94797) | 99.09th | v3 (v2023.03.01) |
| Nov 25, 2023 | 94.14% (0.94144) | 98.96th | v3 (v2023.03.01) |
| Sep 22, 2023 | 94.46% (0.94457) | 98.92th | v3 (v2023.03.01) |
| Jul 22, 2023 | 95.87% (0.95869) | 99.19th | v3 (v2023.03.01) |
| Jun 22, 2023 | 94.46% (0.94457) | 98.82th | v3 (v2023.03.01) |
| Jun 5, 2023 | 94.54% (0.94539) | 98.82th | v3 (v2023.03.01) |
| May 21, 2023 | 95.16% (0.95160) | 98.94th | v3 (v2023.03.01) |
| Mar 15, 2023 | 95.49% (0.95495) | 98.94th | v3 (v2023.03.01) |
| Mar 7, 2023 | 95.71% (0.95712) | 98.99th | v3 (v2023.03.01) |
| Mar 6, 2023 | 31.97% (0.31966) | 97.59th | v2 (v2022.01.01) |
| Feb 4, 2022 | 31.97% (0.31966) | 96.51th | v2 (v2022.01.01) |
| Feb 3, 2022 | 39.75% (0.39754) | 98.22th | v1 |
| Sep 1, 2021 | 39.75% (0.39754) | 99.25th | v1 |
| Jul 29, 2021 | 39.75% (0.39754) | 0.00th | v1 |
| Jun 19, 2021 | 38.69% (0.38687) | 0.00th | v1 |
| Apr 14, 2021 | 36.44% (0.36436) | 0.00th | v1 |
References (50)
- https://access.redhat.com/security/cve/CVE-2019-0193 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1736774 Issue Tracking
- https://github.com/advisories/GHSA-3gm7-v7vw-866c Advisory
- https://github.com/apache/lucene-solr/commit/02c693f3713add1b4891cbaa87127de3a55c10f7
- https://issues.apache.org/jira/browse/SOLR-13669 x_refsource_CONFIRMMitigationVendor Advisory
- https://lists.apache.org/thread.html/1addbb49a1fc0947fb32ca663d76d93cfaade35a4848a76d4b4ded9c%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/1addbb49a1fc0947fb32ca663d76d93cfaade35a4848a76d4b4ded9c@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/42cc4d334ba33905b872a0aa00d6a481391951c8b1450f01b077ce74%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/42cc4d334ba33905b872a0aa00d6a481391951c8b1450f01b077ce74@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/55880d48e38ba9e8c41a3b9e41051dbfdef63b86b0cfeb32967edf03%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/55880d48e38ba9e8c41a3b9e41051dbfdef63b86b0cfeb32967edf03@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/6f2d61bd8732224c5fd3bdd84798f8e01e4542d3ee2f527a52a81b83%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/6f2d61bd8732224c5fd3bdd84798f8e01e4542d3ee2f527a52a81b83@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/7143983363f0ba463475be4a8b775077070a08dbf075449b7beb51ee%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/7143983363f0ba463475be4a8b775077070a08dbf075449b7beb51ee@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/9b0e7a7e3e18d0724f511403b364fc082ff56e3134d84cfece1c82fc%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/9b0e7a7e3e18d0724f511403b364fc082ff56e3134d84cfece1c82fc@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/a6e3c09dba52b86d3a1273f82425973e1b0623c415d0e4f121d89eab%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/a6e3c09dba52b86d3a1273f82425973e1b0623c415d0e4f121d89eab@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3%40%3Ccommits.nifi.apache.org%3E mailing-listx_refsource_MLISTMailing ListPatch
- https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3E
- https://lists.apache.org/thread.html/e85f735fad06a0fb46e74b7e6e9ce7ded20b59637cd9f993310f814d%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/e85f735fad06a0fb46e74b7e6e9ce7ded20b59637cd9f993310f814d@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc%40%3Cusers.solr.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc@%3Cusers.solr.apache.org%3E
- https://lists.apache.org/thread.html/r19d23e8640236a3058b4d6c23e5cd663fde182255f5a9d63e0606a66%40%3Cdev.lucene.apache.org%3E mailing-listx_refsource_MLISTIssue TrackingMailing List
- https://lists.apache.org/thread.html/r19d23e8640236a3058b4d6c23e5cd663fde182255f5a9d63e0606a66@%3Cdev.lucene.apache.org%3E
- https://lists.apache.org/thread.html/r1d4a247329a8478073163567bbc8c8cb6b49c6bfc2bf58153a857af1%40%3Ccommits.druid.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/r1d4a247329a8478073163567bbc8c8cb6b49c6bfc2bf58153a857af1@%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/r339865b276614661770c909be1dd7e862232e3ef0af98bfd85686b51%40%3Cdev.lucene.apache.org%3E mailing-listx_refsource_MLISTIssue TrackingMailing List
- https://lists.apache.org/thread.html/r339865b276614661770c909be1dd7e862232e3ef0af98bfd85686b51@%3Cdev.lucene.apache.org%3E
- https://lists.apache.org/thread.html/r33aed7ad4ee9833c4190a44e2b106efd2deb19504b85e012175540f6%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/r33aed7ad4ee9833c4190a44e2b106efd2deb19504b85e012175540f6@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314%40%3Cusers.solr.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314@%3Cusers.solr.apache.org%3E
- https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef%40%3Cusers.solr.apache.org%3E mailing-listx_refsource_MLISTIssue TrackingMailing List
- https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef@%3Cusers.solr.apache.org%3E
- https://lists.apache.org/thread.html/rb34d820c21f1708c351f9035d6bc7daf80bfb6ef99b34f7af1d2f699%40%3Cissues.lucene.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/rb34d820c21f1708c351f9035d6bc7daf80bfb6ef99b34f7af1d2f699@%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/rc400db37710ee79378b6c52de3640493ff538c2beb41cefdbbdf2ab8%40%3Ccommits.submarine.apache.org%3E mailing-listx_refsource_MLISTMailing List
- https://lists.apache.org/thread.html/rc400db37710ee79378b6c52de3640493ff538c2beb41cefdbbdf2ab8@%3Ccommits.submarine.apache.org%3E
- https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b%40%3Ccommits.nifi.apache.org%3E mailing-listx_refsource_MLISTMailing ListPatch
- https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2019/10/msg00013.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00025.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-0193
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHESOLR-536063
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-0193 government-resourceUS Government Resource
- https://www.cve.org/CVERecord?id=CVE-2019-0193
Change history (0)
No recorded changes yet.