Skip to content

apacheds-core-1.5.7.jar: 2 vulnerabilities (highest severity is: 7.5) reachable #18

@dev-mend-for-github-com

Description

@dev-mend-for-github-com
Vulnerable Library - apacheds-core-1.5.7.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/mina/mina-core/2.0.0-RC1/mina-core-2.0.0-RC1.jar

Found in HEAD commit: 3fb13535ce3a5993f2bc2b02a3ece468e691a942

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (apacheds-core version) Remediation Possible** Reachability
CVE-2018-1000632 High 7.5 dom4j-1.6.1.jar Transitive 2.0.0.AM25

Reachable

CVE-2019-0231 High 7.5 mina-core-2.0.0-RC1.jar Transitive 2.0.0.AM26

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

Details

CVE-2018-1000632

Vulnerable Library - dom4j-1.6.1.jar

dom4j: the flexible XML framework for Java

Library home page: http://dom4j.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar

Dependency Hierarchy:

  • apacheds-core-1.5.7.jar (Root Library)
    • apacheds-i18n-1.5.7.jar
      • shared-dsml-parser-0.9.19.jar
        • dom4j-1.6.1.jar (Vulnerable Library)

Found in HEAD commit: 3fb13535ce3a5993f2bc2b02a3ece468e691a942

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.benchmark.helpers.HibernateUtil (Application)
  -> org.hibernate.SessionFactory (Extension)
   -> org.hibernate.TypeHelper (Extension)
    -> org.hibernate.Hibernate (Extension)
    ...
      -> org.dom4j.Element (Extension)
       -> org.dom4j.QName (Extension)
        -> ❌ org.dom4j.tree.QNameCache (Vulnerable Component)

Vulnerability Details

dom4j version prior to version 2.1.1 contains a CWE-91: XML Injection vulnerability in Class: Element. Methods: addElement, addAttribute that can result in an attacker tampering with XML documents through XML injection. This attack appear to be exploitable via an attacker specifying attributes or elements in the XML document. This vulnerability appears to have been fixed in 2.1.1 or later.

Publish Date: 2018-08-20

URL: CVE-2018-1000632

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000632

Release Date: 2018-08-20

Fix Resolution (dom4j:dom4j): 20040902.021138

Direct dependency fix Resolution (org.apache.directory.server:apacheds-core): 2.0.0.AM25

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2019-0231

Vulnerable Library - mina-core-2.0.0-RC1.jar

Apache MINA is a network application framework which helps users develop high performance and highly scalable network applications easily. It provides an abstract event-driven asynchronous API over various transports such as TCP/IP and UDP/IP via Java NIO.

Library home page: http://mina.apache.org/mina-core

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/mina/mina-core/2.0.0-RC1/mina-core-2.0.0-RC1.jar

Dependency Hierarchy:

  • apacheds-core-1.5.7.jar (Root Library)
    • apacheds-i18n-1.5.7.jar
      • shared-asn1-codec-0.9.19.jar
        • mina-core-2.0.0-RC1.jar (Vulnerable Library)

Found in HEAD commit: 3fb13535ce3a5993f2bc2b02a3ece468e691a942

Found in base branch: master

Vulnerability Details

Handling of the close_notify SSL/TLS message does not lead to a connection closure, leading the server to retain the socket opened and to have the client potentially receive clear text messages afterward. Mitigation: 2.0.20 users should migrate to 2.0.21, 2.1.0 users should migrate to 2.1.1. This issue affects: Apache MINA.

Publish Date: 2019-09-27

URL: CVE-2019-0231

CVSS 3 Score Details (7.5)

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: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-5h29-qq92-wj7f

Release Date: 2019-10-01

Fix Resolution (org.apache.mina:mina-core): 2.0.21

Direct dependency fix Resolution (org.apache.directory.server:apacheds-core): 2.0.0.AM26

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions