amaybaum-prod / vprofile-project

0 stars 2 forks source link

lucene-queryparser-6.6.1.jar: 1 vulnerabilities (highest severity is: 9.8) non-reachable - autoclosed #58

Closed mend-for-github-com[bot] closed 8 months ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - lucene-queryparser-6.6.1.jar

Lucene QueryParsers module

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/lucene/lucene-queryparser/6.6.1/lucene-queryparser-6.6.1.jar,/target/vprofile-v2/WEB-INF/lib/lucene-queryparser-6.6.1.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (lucene-queryparser version) Remediation Possible** Reachability
CVE-2017-12629 Critical 9.8 lucene-queryparser-6.6.1.jar Direct 6.6.2

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2017-12629 ### Vulnerable Library - lucene-queryparser-6.6.1.jar

Lucene QueryParsers module

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/lucene/lucene-queryparser/6.6.1/lucene-queryparser-6.6.1.jar,/target/vprofile-v2/WEB-INF/lib/lucene-queryparser-6.6.1.jar

Dependency Hierarchy: - :x: **lucene-queryparser-6.6.1.jar** (Vulnerable Library)

Found in base branch: vp-rem

### Reachability Analysis

The vulnerable code is not reachable.

### 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: 6.6.2

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

mend-for-github-com[bot] commented 8 months 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.