billmcchesney1 / foxtrot

A store abstraction and analytics system for real-time event data.
Apache License 2.0
0 stars 0 forks source link

CVE-2017-12629 (Critical) detected in lucene-queryparser-7.0.1.jar #279

Open mend-for-github-com[bot] opened 3 years ago

mend-for-github-com[bot] commented 3 years ago

CVE-2017-12629 - Critical Severity Vulnerability

Vulnerable Library - lucene-queryparser-7.0.1.jar

Lucene QueryParsers module

Library home page: http://www.apache.org/

Path to dependency file: /foxtrot-core/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/lucene/lucene-queryparser/7.0.1/lucene-queryparser-7.0.1.jar,/home/wss-scanner/.m2/repository/org/apache/lucene/lucene-queryparser/7.0.1/lucene-queryparser-7.0.1.jar,/home/wss-scanner/.m2/repository/org/apache/lucene/lucene-queryparser/7.0.1/lucene-queryparser-7.0.1.jar

Dependency Hierarchy: - foxtrot-core-6.3.1-7.jar (Root Library) - transport-6.0.1.jar - elasticsearch-6.0.1.jar - :x: **lucene-queryparser-7.0.1.jar** (Vulnerable Library)

Found in HEAD commit: ffb8a6014463ce8aac1bf6e7dc9a23fc4a2a8adc

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2017-10-14

URL: CVE-2017-12629

CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-mh7g-99w9-xpjm

Release Date: 2017-10-14

Fix Resolution: org.apache.lucene:lucene-queryparser:5.5.5,6.6.2,7.1.0,org.apache.solr:solr-core:5.5.5,6.6.2,7.1.0

mend-for-github-com[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-for-github-com[bot] commented 1 year ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.