{"cve":"CVE-2017-12629","nvd":{"published":"2017-10-14T23:29:00.260","modified":"2026-06-17T01:03:39.970","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-611"],"references":["http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3E","http://openwall.com/lists/oss-security/2017/10/13/1","http://www.securityfocus.com/bid/101261","https://access.redhat.com/errata/RHSA-2017:3123","https://access.redhat.com/errata/RHSA-2017:3124"],"products":["apache:solr","canonical:ubuntu_linux","debian:debian_linux","redhat:jboss_enterprise_application_platform"],"source":"nvd","synced_at":"2026-10-19T20:46:01.145313090+00:00"},"epss":{"cve":"CVE-2017-12629","score":0.91896,"percentile":0.99818,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mh7g-99w9-xpjm","url":"https://osv.dev/vulnerability/GHSA-mh7g-99w9-xpjm","summary":"Remote code execution occurs in Apache Solr","modified":"2024-04-12T21:16:02.453722Z","packages":[{"ecosystem":"Maven","name":"org.apache.solr:solr-core","purl":"pkg:maven/org.apache.solr/solr-core","ranges":[">=7.0.0 <7.1.0"],"fixed":["7.1.0"]},{"ecosystem":"Maven","name":"org.apache.solr:solr-core","purl":"pkg:maven/org.apache.solr/solr-core","ranges":[">=6.0.0 <6.6.2"],"fixed":["6.6.2"]},{"ecosystem":"Maven","name":"org.apache.solr:solr-core","purl":"pkg:maven/org.apache.solr/solr-core","ranges":[">=5.5.0 <5.5.5"],"fixed":["5.5.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}