xmidt-org / webpa-common

The collection of small common packages for the webpa project.
Apache License 2.0
25 stars 25 forks source link

CVE-2023-39325 (High) detected in golang.org/x/net-v0.15.0 - autoclosed #999

Closed mend-bolt-for-github[bot] closed 8 months ago

mend-bolt-for-github[bot] commented 9 months ago

CVE-2023-39325 - High Severity Vulnerability

Vulnerable Library - golang.org/x/net-v0.15.0

Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.15.0.zip

Path to dependency file: /go.mod

Path to vulnerable library: /go.mod

Dependency Hierarchy: - github.com/xmidt-org/candlelight-v0.0.16 (Root Library) - go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc-v1.14.0 - google.golang.org/grpc-v1.58.2 - :x: **golang.org/x/net-v0.15.0** (Vulnerable Library)

Found in HEAD commit: f6ef4aad3258857e31ef51ce886258c830fdfc4c

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 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-2023-2102

Release Date: 2023-10-11

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


Step up your Open Source Security Game with Mend here

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