snowdensb / nifi

Apache NiFi
https://nifi.apache.org/
Apache License 2.0
0 stars 0 forks source link

org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar: 5 vulnerabilities (highest severity is: 9.8) - autoclosed #621

Closed mend-for-github-com[bot] closed 1 week ago

mend-for-github-com[bot] commented 1 month ago
Vulnerable Library - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar

Path to dependency file: /nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (org.eclipse.jgit.ssh.apache version) Remediation Possible** Reachability
CVE-2022-45047 Critical 9.8 detected in multiple dependencies Transitive 6.3.0.202209071007-r
CVE-2021-30129 Medium 6.5 sshd-core-2.6.0.jar Transitive 5.13.0.202109080827-r
CVE-2024-41909 Medium 5.9 detected in multiple dependencies Transitive 6.3.0.202209071007-r
CVE-2023-48795 Medium 5.9 detected in multiple dependencies Transitive N/A*
CVE-2023-35887 Medium 5.0 detected in multiple dependencies Transitive 6.3.0.202209071007-r

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2022-45047 ### Vulnerable Libraries - sshd-core-2.6.0.jar, sshd-common-2.6.0.jar, sshd-osgi-2.6.0.jar

### sshd-core-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - sshd-sftp-2.6.0.jar - :x: **sshd-core-2.6.0.jar** (Vulnerable Library) ### sshd-common-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - sshd-sftp-2.6.0.jar - sshd-core-2.6.0.jar - :x: **sshd-common-2.6.0.jar** (Vulnerable Library) ### sshd-osgi-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - :x: **sshd-osgi-2.6.0.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Class org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider in Apache MINA SSHD <= 2.9.1 uses Java deserialization to load a serialized java.security.PrivateKey. The class is one of several implementations that an implementor using Apache MINA SSHD can choose for loading the host keys of an SSH server.

Publish Date: 2022-11-16

URL: CVE-2022-45047

### 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://www.mail-archive.com/dev@mina.apache.org/msg39312.html

Release Date: 2022-11-16

Fix Resolution (org.apache.sshd:sshd-core): 2.9.2

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 6.3.0.202209071007-r

Fix Resolution (org.apache.sshd:sshd-common): 2.9.2

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 5.12.0.202106070339-r

Fix Resolution (org.apache.sshd:sshd-osgi): 2.9.2

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 5.12.0.202106070339-r

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-30129 ### Vulnerable Library - sshd-core-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - sshd-sftp-2.6.0.jar - :x: **sshd-core-2.6.0.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

A vulnerability in sshd-core of Apache Mina SSHD allows an attacker to overflow the server causing an OutOfMemory error. This issue affects the SFTP and port forwarding features of Apache Mina SSHD version 2.0.0 and later versions. It was addressed in Apache Mina SSHD 2.7.0

Publish Date: 2021-07-12

URL: CVE-2021-30129

### CVSS 3 Score Details (6.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://issues.apache.org/jira/browse/SSHD-1125

Release Date: 2021-07-12

Fix Resolution (org.apache.sshd:sshd-core): 2.7.0

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 5.13.0.202109080827-r

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-41909 ### Vulnerable Libraries - sshd-common-2.6.0.jar, sshd-core-2.6.0.jar

### sshd-common-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - sshd-sftp-2.6.0.jar - sshd-core-2.6.0.jar - :x: **sshd-common-2.6.0.jar** (Vulnerable Library) ### sshd-core-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - sshd-sftp-2.6.0.jar - :x: **sshd-core-2.6.0.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Like many other SSH implementations, Apache MINA SSHD suffered from the issue that is more widely known as CVE-2023-48795. An attacker that can intercept traffic between client and server could drop certain packets from the stream, potentially causing client and server to consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack The mitigations to prevent this type of attack were implemented in Apache MINA SSHD 2.12.0, both client and server side. Users are recommended to upgrade to at least this version. Note that both the client and the server implementation must have mitigations applied against this issue, otherwise the connection may still be affected.

Publish Date: 2024-08-12

URL: CVE-2024-41909

### CVSS 3 Score Details (5.9)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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://lists.apache.org/thread/vwf1ot8wx1njyy8n19j5j2tcnjnozt3b

Release Date: 2024-08-12

Fix Resolution (org.apache.sshd:sshd-common): 2.12.0

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 6.3.0.202209071007-r

Fix Resolution (org.apache.sshd:sshd-core): 2.12.0

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 6.3.0.202209071007-r

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2023-48795 ### Vulnerable Libraries - sshd-common-2.6.0.jar, sshd-osgi-2.6.0.jar, sshd-core-2.6.0.jar

### sshd-common-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - sshd-sftp-2.6.0.jar - sshd-core-2.6.0.jar - :x: **sshd-common-2.6.0.jar** (Vulnerable Library) ### sshd-osgi-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - :x: **sshd-osgi-2.6.0.jar** (Vulnerable Library) ### sshd-core-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - sshd-sftp-2.6.0.jar - :x: **sshd-core-2.6.0.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in chacha20-poly1305@openssh.com and (if CBC is used) the -etm@openssh.com MAC algorithms. This also affects Maverick Synergy Java SSH API before 3.1.0-SNAPSHOT, Dropbear through 2022.83, Ssh before 5.1.1 in Erlang/OTP, PuTTY before 0.80, AsyncSSH before 2.14.2, golang.org/x/crypto before 0.17.0, libssh before 0.10.6, libssh2 through 1.11.0, Thorn Tech SFTP Gateway before 3.4.6, Tera Term before 5.1, Paramiko before 3.4.0, jsch before 0.2.15, SFTPGo before 2.5.6, Netgate pfSense Plus through 23.09.1, Netgate pfSense CE through 2.7.2, HPN-SSH through 18.2.0, ProFTPD before 1.3.8b (and before 1.3.9rc2), ORYX CycloneSSH before 2.3.4, NetSarang XShell 7 before Build 0144, CrushFTP before 10.6.0, ConnectBot SSH library before 2.2.22, Apache MINA sshd through 2.11.0, sshj through 0.37.0, TinySSH through 20230101, trilead-ssh2 6401, LANCOM LCOS and LANconfig, FileZilla before 3.66.4, Nova before 11.8, PKIX-SSH before 14.4, SecureCRT before 9.4.3, Transmit5 before 5.10.4, Win32-OpenSSH before 9.5.0.0p1-Beta, WinSCP before 6.2.2, Bitvise SSH Server before 9.32, Bitvise SSH Client before 9.33, KiTTY through 0.76.1.13, the net-ssh gem 7.2.0 for Ruby, the mscdex ssh2 module before 1.15.0 for Node.js, the thrussh library before 0.35.1 for Rust, and the Russh crate before 0.40.2 for Rust.

Publish Date: 2023-12-18

URL: CVE-2023-48795

### CVSS 3 Score Details (5.9)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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://security-tracker.debian.org/tracker/CVE-2023-48795

Release Date: 2023-12-18

Fix Resolution: putty - 0.80, openssh - V_9_6_P1, golang/crypto - v0.17.0, asyncssh - 2.14.2, libssh-0.9.8, libssh-0.10.6, teraterm - v5.1, paramiko - 3.4.0, russh - 0.40.2, com.github.mwiede:jsch:0.2.15, proftpd - v1.3.8b, thrussh - 0.35.1, teraterm - v5.1, org.connectbot:sshlib:2.2.22, mscdex/ssh2 - 1.15.0, jtesta/ssh-audit - v3.1.0, Oryx-Embedded/CycloneSSH - v2.3.4, opnsense/src - 23.7, winscp - 6.2.2, PowerShell/openssh-portable - v9.5.0.0

CVE-2023-35887 ### Vulnerable Libraries - sshd-osgi-2.6.0.jar, sshd-sftp-2.6.0.jar, sshd-core-2.6.0.jar, sshd-common-2.6.0.jar

### sshd-osgi-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - :x: **sshd-osgi-2.6.0.jar** (Vulnerable Library) ### sshd-sftp-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - :x: **sshd-sftp-2.6.0.jar** (Vulnerable Library) ### sshd-core-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - sshd-sftp-2.6.0.jar - :x: **sshd-core-2.6.0.jar** (Vulnerable Library) ### sshd-common-2.6.0.jar

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

Path to dependency file: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml

Path to vulnerable library: /nifi-registry/nifi-registry-toolkit/nifi-registry-toolkit-persistence/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml,/nifi-registry/nifi-registry-core/nifi-registry-web-api/pom.xml

Dependency Hierarchy: - org.eclipse.jgit.ssh.apache-5.11.1.202105131744-r.jar (Root Library) - sshd-sftp-2.6.0.jar - sshd-core-2.6.0.jar - :x: **sshd-common-2.6.0.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Software Foundation Apache MINA. In SFTP servers implemented using Apache MINA SSHD that use a RootedFileSystem, logged users may be able to discover "exists/does not exist" information about items outside the rooted tree via paths including parent navigation ("..") beyond the root, or involving symlinks. This issue affects Apache MINA: from 1.0 before 2.10. Users are recommended to upgrade to 2.10

Publish Date: 2023-07-10

URL: CVE-2023-35887

### CVSS 3 Score Details (5.0)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://lists.apache.org/thread/b9qgtqvhnvgfpn0w1gz918p21p53tqk2

Release Date: 2023-07-10

Fix Resolution (org.apache.sshd:sshd-osgi): 2.9.3

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 6.3.0.202209071007-r

Fix Resolution (org.apache.sshd:sshd-sftp): 2.9.3

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 6.3.0.202209071007-r

Fix Resolution (org.apache.sshd:sshd-core): 2.9.3

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 6.3.0.202209071007-r

Fix Resolution (org.apache.sshd:sshd-common): 2.9.3

Direct dependency fix Resolution (org.eclipse.jgit:org.eclipse.jgit.ssh.apache): 6.3.0.202209071007-r

: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 1 week 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.