Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2017-12629 (Critical, unreachable) detected in lucene-queryparser-6.6.1.jar - autoclosed #160

Closed
dev-mend-for-github-com bot opened this issue Apr 24, 2023 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@dev-mend-for-github-com
Copy link

dev-mend-for-github-com bot commented Apr 24, 2023

CVE-2017-12629 - Critical Severity Vulnerability

Vulnerable Library - lucene-queryparser-6.6.1.jar

Lucene QueryParsers module

Library home page: http://lucene.apache.org/lucene-parent/lucene-queryparser

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

Dependency Hierarchy:

  • elasticsearch-5.6.4.jar (Root Library)
    • lucene-queryparser-6.6.1.jar (Vulnerable Library)

Found in HEAD commit: 2c2c9f752b1dec579a12ba0bcc3d8dab738d7cff

Found in base branch: vp-rem

Reachability Analysis

The vulnerable code is unreachable

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12629

Release Date: 2017-10-14

Fix Resolution (org.apache.lucene:lucene-queryparser): 6.6.2

Direct dependency fix Resolution (org.elasticsearch:elasticsearch): 6.0.0


⛑️ Automatic Remediation will be attempted for this issue.

@dev-mend-for-github-com dev-mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Apr 24, 2023
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title CVE-2017-12629 (High, non-reachable) detected in lucene-queryparser-6.6.1.jar CVE-2017-12629 (Critical, non-reachable) detected in lucene-queryparser-6.6.1.jar Jun 7, 2023
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title CVE-2017-12629 (Critical, non-reachable) detected in lucene-queryparser-6.6.1.jar CVE-2017-12629 (Critical, unreachable) detected in lucene-queryparser-6.6.1.jar Mar 11, 2024
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title CVE-2017-12629 (Critical, unreachable) detected in lucene-queryparser-6.6.1.jar CVE-2017-12629 (Critical) detected in lucene-queryparser-6.6.1.jar Jan 1, 2025
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title CVE-2017-12629 (Critical) detected in lucene-queryparser-6.6.1.jar CVE-2017-12629 (Critical, unreachable) detected in lucene-queryparser-6.6.1.jar Jan 6, 2025
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title CVE-2017-12629 (Critical, unreachable) detected in lucene-queryparser-6.6.1.jar CVE-2017-12629 (Critical, unreachable) detected in lucene-queryparser-6.6.1.jar - autoclosed Jan 12, 2025
Copy link
Author

✔️ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants