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

k8s.io/apiMAChinery-v0.26.0: 5 vulnerabilities (highest severity is: 8.7) - autoclosed #7

Closed mend-for-github-com[bot] closed 7 months ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - k8s.io/apiMAChinery-v0.26.0

null

Library home page: https://proxy.golang.org/k8s.io/apimachinery/@v/v0.26.0.zip

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

Path to vulnerable library: /tests/components/application-connector/go.mod

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (k8s.io/apiMAChinery-v0.26.0 version) Remediation Possible**
CVE-2023-45288 High 8.7 golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b Transitive N/A*
CVE-2023-44487 High 8.7 k8s.io/apiMAChinery-v0.26.0 Direct org.eclipse.jetty.http2:http2-server:9.4.53.v20231009,10.0.17,11.0.17, org.eclipse.jetty.http2:jetty-http2-server:12.0.2, org.eclipse.jetty.http2:http2-common:9.4.53.v20231009,10.0.17,11.0.17, org.eclipse.jetty.http2:jetty-http2-common:12.0.2, nghttp - v1.57.0, swift-nio-http2 - 1.28.0, io.netty:netty-codec-http2:4.1.100.Final, trafficserver - 9.2.3, org.apache.tomcat:tomcat-coyote:8.5.94,9.0.81,10.1.14, org.apache.tomcat.embed:tomcat-embed-core:8.5.94,9.0.81,10.1.14, Microsoft.AspNetCore.App - 6.0.23,7.0.12, contour - v1.26.1, proxygen - v2023.10.16.00, grpc-go - v1.56.3, v1.57.1, v1.58.3
CVE-2023-39325 High 8.7 golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b Transitive N/A*
CVE-2022-41721 High 8.7 golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b Transitive N/A*
CVE-2023-3978 Medium 5.3 golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b 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-2023-45288 ### Vulnerable Library - golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20221014081412-f15817d10f9b.zip

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

Path to vulnerable library: /tests/components/application-connector/go.mod

Dependency Hierarchy: - k8s.io/apiMAChinery-v0.26.0 (Root Library) - :x: **golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are still parsed. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send. The fix sets a limit on the amount of excess header frames we will process before closing a connection.

Publish Date: 2024-04-04

URL: CVE-2023-45288

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

Release Date: 2023-10-06

Fix Resolution: golang/net - v0.23.0

CVE-2023-44487 ### Vulnerable Library - k8s.io/apiMAChinery-v0.26.0

null

Library home page: https://proxy.golang.org/k8s.io/apimachinery/@v/v0.26.0.zip

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

Path to vulnerable library: /tests/components/application-connector/go.mod

Dependency Hierarchy: - :x: **k8s.io/apiMAChinery-v0.26.0** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August through October 2023.

Publish Date: 2023-10-10

URL: CVE-2023-44487

### 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://www.cve.org/CVERecord?id=CVE-2023-44487

Release Date: 2023-10-10

Fix Resolution: org.eclipse.jetty.http2:http2-server:9.4.53.v20231009,10.0.17,11.0.17, org.eclipse.jetty.http2:jetty-http2-server:12.0.2, org.eclipse.jetty.http2:http2-common:9.4.53.v20231009,10.0.17,11.0.17, org.eclipse.jetty.http2:jetty-http2-common:12.0.2, nghttp - v1.57.0, swift-nio-http2 - 1.28.0, io.netty:netty-codec-http2:4.1.100.Final, trafficserver - 9.2.3, org.apache.tomcat:tomcat-coyote:8.5.94,9.0.81,10.1.14, org.apache.tomcat.embed:tomcat-embed-core:8.5.94,9.0.81,10.1.14, Microsoft.AspNetCore.App - 6.0.23,7.0.12, contour - v1.26.1, proxygen - v2023.10.16.00, grpc-go - v1.56.3, v1.57.1, v1.58.3

In order to enable automatic remediation, please create workflow rules

CVE-2023-39325 ### Vulnerable Library - golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20221014081412-f15817d10f9b.zip

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

Path to vulnerable library: /tests/components/application-connector/go.mod

Dependency Hierarchy: - k8s.io/apiMAChinery-v0.26.0 (Root Library) - :x: **golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function.

Publish Date: 2023-10-11

URL: CVE-2023-39325

### 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://pkg.go.dev/vuln/GO-2023-2102

Release Date: 2023-10-11

Fix Resolution: go1.20.10, go1.21.3, golang.org/x/net - v0.17.0

CVE-2022-41721 ### Vulnerable Library - golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20221014081412-f15817d10f9b.zip

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

Path to vulnerable library: /tests/components/application-connector/go.mod

Dependency Hierarchy: - k8s.io/apiMAChinery-v0.26.0 (Root Library) - :x: **golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests.

Publish Date: 2023-01-13

URL: CVE-2022-41721

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

Release Date: 2023-01-13

Fix Resolution: v0.2.0

CVE-2023-3978 ### Vulnerable Library - golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20221014081412-f15817d10f9b.zip

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

Path to vulnerable library: /tests/components/application-connector/go.mod

Dependency Hierarchy: - k8s.io/apiMAChinery-v0.26.0 (Root Library) - :x: **golang.org/x/net-v0.0.0-20221014081412-f15817d10f9b** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.

Publish Date: 2023-08-02

URL: CVE-2023-3978

### 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://www.cve.org/CVERecord?id=CVE-2023-3978

Release Date: 2023-08-02

Fix Resolution: v0.13.0


In order to enable automatic remediation for this issue, please create workflow rules

mend-for-github-com[bot] commented 7 months 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.