samqdemocorp-mend / box_mojito_lvp

Apache License 2.0
0 stars 0 forks source link

apacheds-server-jndi-1.5.5.jar: 2 vulnerabilities (highest severity is: 8.7) reachable #16

Open mend-for-github-com[bot] opened 8 months ago

mend-for-github-com[bot] commented 8 months ago
Vulnerable Library - apacheds-server-jndi-1.5.5.jar

Path to dependency file: /webapp/pom.xml

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

Found in HEAD commit: 012e83ee9b10e35eced839f51b8019c57f33234b

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (apacheds-server-jndi version) Remediation Possible** Reachability
CVE-2019-0231 High 8.7 Not Defined 0.1% mina-core-2.0.0-M6.jar Transitive 2.0.0.AM26

Reachable

CVE-2021-41973 High 7.1 Not Defined 0.4% mina-core-2.0.0-M6.jar Transitive 2.0.0.AM26

Unreachable

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

Details

CVE-2019-0231 ### Vulnerable Library - mina-core-2.0.0-M6.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/

Path to dependency file: /webapp/pom.xml

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

Dependency Hierarchy: - apacheds-server-jndi-1.5.5.jar (Root Library) - apacheds-protocol-ldap-1.5.5.jar - shared-asn1-codec-0.9.15.jar - :x: **mina-core-2.0.0-M6.jar** (Vulnerable Library)

Found in HEAD commit: 012e83ee9b10e35eced839f51b8019c57f33234b

Found in base branch: main

### Reachability Analysis This vulnerability is potentially reachable ``` com.box.l10n.mojito.security.UserDetailsContextMapperImpl (Application) -> org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer (Extension) -> org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer$ContextSourceBuilder (Extension) -> org.springframework.security.ldap.server.ApacheDSContainer (Extension) -> org.apache.directory.server.ldap.LdapServer (Extension) -> org.apache.directory.server.ldap.LdapProtocolHandler (Extension) -> ❌ org.apache.mina.filter.ssl.SslFilter (Vulnerable Component) ```

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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (8.7)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/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-server-jndi): 2.0.0.AM26

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-41973 ### Vulnerable Library - mina-core-2.0.0-M6.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/

Path to dependency file: /webapp/pom.xml

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

Dependency Hierarchy: - apacheds-server-jndi-1.5.5.jar (Root Library) - apacheds-protocol-ldap-1.5.5.jar - shared-asn1-codec-0.9.15.jar - :x: **mina-core-2.0.0-M6.jar** (Vulnerable Library)

Found in HEAD commit: 012e83ee9b10e35eced839f51b8019c57f33234b

Found in base branch: main

### Reachability Analysis

The vulnerable code is unreachable

### Vulnerability Details

In Apache MINA, a specifically crafted, malformed HTTP request may cause the HTTP Header decoder to loop indefinitely. The decoder assumed that the HTTP Header begins at the beginning of the buffer and loops if there is more data than expected. Please update MINA to 2.1.5 or greater.

Publish Date: 2021-11-01

URL: CVE-2021-41973

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.4%

### CVSS 4 Score Details (7.1)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-6mcm-j9cj-3vc3

Release Date: 2021-11-01

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

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

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

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