ADVISORIES

Vulnerability

CVE-2017-12629

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.

13 advisories report this vulnerability, across 4 ecosystems.

Critical severity All Red Hat 7Debian 3Ubuntu 2Maven 1

Advisories

  • DEBIAN-CVE-2017-12629

    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.…

    CVE-2017-12629 Debian Updated 1 September 2026
  • DLA-1254-1

    lucene-solr - security update

    CVE-2017-12629 Debian Updated 20 November 2026
  • DSA-4124-1

    lucene-solr - security update

    CVE-2017-12629CVE-2017-3163 Debian Updated 20 November 2026
  • GHSA-mh7g-99w9-xpjm

    Remote code execution occurs in Apache Solr

    Critical CVE-2017-12629 Maven Updated 12 April 2024
  • RHSA-2017:3123

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform security update

    CVE-2017-12629 Red Hat Updated 13 November 2026
  • RHSA-2017:3451

    Red Hat Security Advisory: rh-java-common-lucene security update

    CVE-2017-12629 Red Hat Updated 13 November 2026
  • RHSA-2017:3452

    Red Hat Security Advisory: rh-java-common-lucene5 security update

    CVE-2017-12629 Red Hat Updated 13 November 2026
  • RHSA-2018:0002

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.0.9 security update on RHEL 6

    CVE-2016-6346CVE-2017-12165CVE-2017-12167CVE-2017-12189 Red Hat Updated 13 November 2026
  • RHSA-2018:0004

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.0.9 security update on RHEL 7

    CVE-2016-6346CVE-2017-12165CVE-2017-12167CVE-2017-12189 Red Hat Updated 13 November 2026
  • RHSA-2018:0005

    Red Hat Security Advisory: eap7-jboss-ec2-eap security update

    CVE-2016-6346CVE-2017-12165CVE-2017-12167CVE-2017-12189 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2017-12629

    Solr: Code execution via entity expansion

    Critical CVE-2017-12629 Red Hat Updated 5 November 2026
  • UBUNTU-CVE-2017-12629

    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.…

    CVE-2017-12629 Ubuntu Updated 4 February 2026
  • USN-4259-1

    Apache Solr vulnerability

    CVE-2017-12629 Ubuntu Updated 10 February 2026

References