ForgeRock / secret-agent

Generate random Kubernetes secrets and optionally store them in a Cloud Secret Manager
Apache License 2.0
17 stars 20 forks source link

k8s.io/Apimachinery-v0.20.2: 7 vulnerabilities (highest severity is: 8.6) - autoclosed #249

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

mend-for-github-com[bot] commented 11 months ago
Vulnerable Library - k8s.io/Apimachinery-v0.20.2

null

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

Path to dependency file: /go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/k8s.io/apimachinery/@v/v0.20.2.mod

Found in HEAD commit: f72485996d8c18101bbdfdd784accb8cfaded7b2

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (k8s.io/Apimachinery-v0.20.2 version) Remediation Possible**
CVE-2021-3121 High 8.6 github.com/gogo/protobuf-v1.3.1 Transitive N/A*
CVE-2023-44487 High 7.5 k8s.io/Apimachinery-v0.20.2 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-2022-41721 High 7.5 golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b Transitive N/A*
CVE-2022-27664 High 7.5 golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b Transitive N/A*
CVE-2021-44716 High 7.5 golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b Transitive N/A*
CVE-2021-33194 High 7.5 golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b Transitive N/A*
CVE-2021-31525 Medium 5.9 golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b 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-2021-3121 ### Vulnerable Library - github.com/gogo/protobuf-v1.3.1

[Deprecated] Protocol Buffers for Go with Gadgets

Library home page: https://proxy.golang.org/github.com/gogo/protobuf/@v/v1.3.1.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/github.com/gogo/protobuf/@v/v1.3.1.mod

Dependency Hierarchy: - k8s.io/Apimachinery-v0.20.2 (Root Library) - :x: **github.com/gogo/protobuf-v1.3.1** (Vulnerable Library)

Found in HEAD commit: f72485996d8c18101bbdfdd784accb8cfaded7b2

Found in base branch: master

### Vulnerability Details

An issue was discovered in GoGo Protobuf before 1.3.2. plugin/unmarshal/unmarshal.go lacks certain index validation, aka the "skippy peanut butter" issue.

Publish Date: 2021-01-11

URL: CVE-2021-3121

### CVSS 3 Score Details (8.6)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2021-01-11

Fix Resolution: v1.3.2

CVE-2023-44487 ### Vulnerable Library - k8s.io/Apimachinery-v0.20.2

null

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

Path to dependency file: /go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/k8s.io/apimachinery/@v/v0.20.2.mod

Dependency Hierarchy: - :x: **k8s.io/Apimachinery-v0.20.2** (Vulnerable Library)

Found in HEAD commit: f72485996d8c18101bbdfdd784accb8cfaded7b2

Found in base branch: master

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

For more information on CVSS3 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

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-41721 ### Vulnerable Library - golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.mod

Dependency Hierarchy: - k8s.io/Apimachinery-v0.20.2 (Root Library) - :x: **golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b** (Vulnerable Library)

Found in HEAD commit: f72485996d8c18101bbdfdd784accb8cfaded7b2

Found in base branch: master

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2023-01-13

Fix Resolution: v0.2.0

CVE-2022-27664 ### Vulnerable Library - golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.mod

Dependency Hierarchy: - k8s.io/Apimachinery-v0.20.2 (Root Library) - :x: **golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b** (Vulnerable Library)

Found in HEAD commit: f72485996d8c18101bbdfdd784accb8cfaded7b2

Found in base branch: master

### Vulnerability Details

In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error.

Publish Date: 2022-09-06

URL: CVE-2022-27664

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://pkg.go.dev/vuln/GO-2022-0969

Release Date: 2022-09-06

Fix Resolution: golang.org/x/net - 0.0.0-20220906165146-f3363e06e74c, go1.18.6, go1.19.1

CVE-2021-44716 ### Vulnerable Library - golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.mod

Dependency Hierarchy: - k8s.io/Apimachinery-v0.20.2 (Root Library) - :x: **golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b** (Vulnerable Library)

Found in HEAD commit: f72485996d8c18101bbdfdd784accb8cfaded7b2

Found in base branch: master

### Vulnerability Details

net/http in Go before 1.16.12 and 1.17.x before 1.17.5 allows uncontrolled memory consumption in the header canonicalization cache via HTTP/2 requests.

Publish Date: 2022-01-01

URL: CVE-2021-44716

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-vc3p-29h2-gpcp

Release Date: 2022-01-01

Fix Resolution: github.com/golang/net - 491a49abca63de5e07ef554052d180a1b5fe2d70

CVE-2021-33194 ### Vulnerable Library - golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.mod

Dependency Hierarchy: - k8s.io/Apimachinery-v0.20.2 (Root Library) - :x: **golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b** (Vulnerable Library)

Found in HEAD commit: f72485996d8c18101bbdfdd784accb8cfaded7b2

Found in base branch: master

### Vulnerability Details

golang.org/x/net before v0.0.0-20210520170846-37e1c6afe023 allows attackers to cause a denial of service (infinite loop) via crafted ParseFragment input.

Publish Date: 2021-05-26

URL: CVE-2021-33194

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

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

Release Date: 2021-05-26

Fix Resolution: golang.org/x/net - v0.0.0-20210520170846-37e1c6afe023

CVE-2021-31525 ### Vulnerable Library - golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.mod

Dependency Hierarchy: - k8s.io/Apimachinery-v0.20.2 (Root Library) - :x: **golang.org/x/net-v0.0.0-20201110031124-69a78807bb2b** (Vulnerable Library)

Found in HEAD commit: f72485996d8c18101bbdfdd784accb8cfaded7b2

Found in base branch: master

### Vulnerability Details

net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.

Publish Date: 2021-05-27

URL: CVE-2021-31525

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=1958341

Release Date: 2021-05-27

Fix Resolution: golang - v1.15.12,v1.16.4,v1.17.0


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

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

mend-for-github-com[bot] commented 4 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

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