CVE-2019-0193
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.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2021-12-10). If you run an affected version, patch or mitigate now.
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | lucene-solr | Fix pending | 3.6.2+dfsg-18~18.04.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2019-0193 |
| Ubuntu 16.04 | lucene-solr | Fix pending | 3.6.2+dfsg-8ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2019-0193 |
| Ubuntu 14.04 | lucene-solr | Fix pending | 3.6.2+dfsg-2ubuntu0.1~esm4 (Ubuntu Pro) | UBUNTU-CVE-2019-0193 |
| Debian 14 | lucene-solr | Fixed | 3.6.2+dfsg-22 | DEBIAN-CVE-2019-0193 |
| Debian 13 | lucene-solr | Fixed | 3.6.2+dfsg-22 | DEBIAN-CVE-2019-0193 |
| Debian 12 | lucene-solr | Fixed | 3.6.2+dfsg-22 | DEBIAN-CVE-2019-0193 |
| Maven library | org.apache.solr:solr-core | Fixed | 8.2.0 | GHSA-3gm7-v7vw-866c |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Solr: affected: Apache Solr all prior to 8.2.0
References
- https://issues.apache.org/jira/browse/SOLR-13669
- https://lists.debian.org/debian-lts-announce/2019/10/msg00013.html
- https://lists.apache.org/thread.html/7143983363f0ba463475be4a8b775077070a08dbf075449b7beb51ee%40%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/42cc4d334ba33905b872a0aa00d6a481391951c8b1450f01b077ce74%40%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/6f2d61bd8732224c5fd3bdd84798f8e01e4542d3ee2f527a52a81b83%40%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/1addbb49a1fc0947fb32ca663d76d93cfaade35a4848a76d4b4ded9c%40%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/a6e3c09dba52b86d3a1273f82425973e1b0623c415d0e4f121d89eab%40%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3%40%3Ccommits.nifi.apache.org%3E
- https://lists.apache.org/thread.html/55880d48e38ba9e8c41a3b9e41051dbfdef63b86b0cfeb32967edf03%40%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/e85f735fad06a0fb46e74b7e6e9ce7ded20b59637cd9f993310f814d%40%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/9b0e7a7e3e18d0724f511403b364fc082ff56e3134d84cfece1c82fc%40%3Cissues.lucene.apache.org%3E
- https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b%40%3Ccommits.nifi.apache.org%3E
- https://lists.apache.org/thread.html/r339865b276614661770c909be1dd7e862232e3ef0af98bfd85686b51%40%3Cdev.lucene.apache.org%3E
- https://lists.apache.org/thread.html/r19d23e8640236a3058b4d6c23e5cd663fde182255f5a9d63e0606a66%40%3Cdev.lucene.apache.org%3E
- https://lists.apache.org/thread.html/r33aed7ad4ee9833c4190a44e2b106efd2deb19504b85e012175540f6%40%3Cissues.lucene.apache.org%3E
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.