rsoreq / kyma

Kyma is an opinionated set of Kubernetes-based modular building blocks, including all necessary capabilities to develop and run enterprise-grade cloud-native applications.
https://kyma-project.io
Apache License 2.0
0 stars 0 forks source link

github.com/kyma-incubator/compass/components/director-v0.0.0-20240311095305-43ec866d6b0c: 3 vulnerabilities (highest severity is: 8.2) #113

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

mend-for-github-com[bot] commented 6 months ago
Vulnerable Library - github.com/kyma-incubator/compass/components/director-v0.0.0-20240311095305-43ec866d6b0c

Path to dependency file: /tests/components/application-connector/go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/github.com/lestrrat-go/jwx/@v/v1.2.28.mod

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (github.com/kyma-incubator/compass/components/director-v0.0.0 version) Remediation Possible** Reachability
CVE-2024-28122 High 8.2 Not Defined 0.0% github.com/lestrrat-go/jwx-v1.2.28 Transitive N/A*
CVE-2023-48795 High 8.2 Not Defined 96.5% golang.org/x/crypto-v0.0.0-20221012134737-56aed061732a Transitive N/A*
CVE-2024-21664 Medium 5.3 Not Defined 0.1% github.com/lestrrat-go/jwx-v1.2.28 Transitive N/A*

*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-2024-28122 ### Vulnerable Library - github.com/lestrrat-go/jwx-v1.2.28

Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies

Library home page: https://proxy.golang.org/github.com/lestrrat-go/jwx/@v/v1.2.28.zip

Path to dependency file: /tests/components/application-connector/go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/github.com/lestrrat-go/jwx/@v/v1.2.28.mod

Dependency Hierarchy: - github.com/kyma-incubator/compass/components/director-v0.0.0-20240311095305-43ec866d6b0c (Root Library) - github.com/kyma-incubator/compass/components/hydrator-v0.0.0-20240228074947-02a81b1e3bf8 - :x: **github.com/lestrrat-go/jwx-v1.2.28** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

JWX is Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. This vulnerability allows an attacker with a trusted public key to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. This issue has been patched in versions 1.2.29 and 2.0.21.

Publish Date: 2024-03-09

URL: CVE-2024-28122

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

### CVSS 4 Score Details (8.2)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: High - 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-hj3v-m684-v259

Release Date: 2024-03-09

Fix Resolution: lestrrat-go/jwx-v1.2.29,v2.0.21

CVE-2023-48795 ### Vulnerable Library - golang.org/x/crypto-v0.0.0-20221012134737-56aed061732a

Library home page: https://proxy.golang.org/golang.org/x/crypto/@v/v0.0.0-20221012134737-56aed061732a.zip

Path to dependency file: /tests/components/application-connector/go.mod

Path to vulnerable library: /tests/components/application-connector/go.mod,/go/pkg/mod/cache/download/golang.org/x/crypto/@v/v0.0.0-20221012134737-56aed061732a.mod

Dependency Hierarchy: - github.com/kyma-incubator/compass/components/director-v0.0.0-20240311095305-43ec866d6b0c (Root Library) - github.com/MasterMinds/sprig/v3-v3.2.3 - :x: **golang.org/x/crypto-v0.0.0-20221012134737-56aed061732a** (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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 96.5%

### CVSS 4 Score Details (8.2)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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://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-2024-21664 ### Vulnerable Library - github.com/lestrrat-go/jwx-v1.2.28

Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies

Library home page: https://proxy.golang.org/github.com/lestrrat-go/jwx/@v/v1.2.28.zip

Path to dependency file: /tests/components/application-connector/go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/github.com/lestrrat-go/jwx/@v/v1.2.28.mod

Dependency Hierarchy: - github.com/kyma-incubator/compass/components/director-v0.0.0-20240311095305-43ec866d6b0c (Root Library) - github.com/kyma-incubator/compass/components/hydrator-v0.0.0-20240228074947-02a81b1e3bf8 - :x: **github.com/lestrrat-go/jwx-v1.2.28** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. Calling `jws.Parse` with a JSON serialized payload where the `signature` field is present while `protected` is absent can lead to a nil pointer dereference. The vulnerability can be used to crash/DOS a system doing JWS verification. This vulnerability has been patched in versions 2.0.19 and 1.2.28.

Publish Date: 2024-01-09

URL: CVE-2024-21664

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

### CVSS 4 Score Details (5.3)

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-pvcr-v8j8-j5q3

Release Date: 2024-01-09

Fix Resolution: v1.2.28, v2.0.19

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale due to the lack of recent activity. It will soon be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 month ago

This issue has been automatically closed due to the lack of recent activity. /lifecycle rotten