CVE-2017-12629
lucene-solr - security update
Description
Remote code execution occurs in Apache Solr before 7.1 with Apache Lucene before 7.1 by exploiting XXE in conjunction with use of a Config API add-listener command to reach the RunExecutableListener class. Elasticsearch, although it uses Lucene, is NOT vulnerable to this. Note that the XML external entity expansion vulnerability occurs in the XML Query Parser which is available, by default, for any query request with parameters deftype=xmlparser and can be exploited to upload malicious data to the /upload request handler or as Blind XXE using ftp wrapper in order to read arbitrary local files from the Solr server. Note also that the second vulnerability relates to remote code execution using the RunExecutableListener available on all affected versions of Solr.
How to fix CVE-2017-12629
To remediate CVE-2017-12629, upgrade the affected package to a fixed version below.
- —upgrade to 3.6.2+dfsg-11 or later
- —upgrade to 3.6.0+dfsg-1+deb7u3 or later
- —upgrade to 3.6.2+dfsg-5+deb8u1 or later
- —upgrade to 7.1.0 or later
Is CVE-2017-12629 being exploited?
Likely — EPSS is 93.9%, placing CVE-2017-12629 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (4)
- from 0, < 3.6.2+dfsg-11
- from 0, < 3.6.0+dfsg-1+deb7u3
- from 0, < 3.6.2+dfsg-5+deb8u1
- >= 7.0.0, < 7.1.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |