temporalio / temporalio/samples-python
go.temporal.io/sdk-v1.14.0: 1 vulnerabilities (highest severity is: 7.5)
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 367
- 派生
- 121
- 平均合并
- 3 天 20 小时
- 30 天内合并 PR
- 11
描述
Vulnerable Library - go.temporal.io/sdk-v1.14.0
Path to dependency file: /activity_worker/go_workflow/go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.7.0.mod
Found in HEAD commit: ac44173063e14aaf5e2fd3eca9caf9197f4d6dd5
Vulnerabilities
| CVE | Severity | CVSS |
Dependency | Type | Fixed in (go.temporal.io/sdk-v1.14.0 version) | Remediation Possible** |
|---|---|---|---|---|---|---|
| CVE-2023-39325 | High |
7.5 | golang.org/x/net-v0.7.0 | 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-39325
Vulnerable Library - golang.org/x/net-v0.7.0
Library home page: https://proxy.golang.org/golang.org/x/net/@v/v0.7.0.zip
Path to dependency file: /activity_worker/go_workflow/go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.7.0.mod
Dependency Hierarchy:
- go.temporal.io/sdk-v1.14.0 (Root Library)
- github.com/grpc-ecosystem/go-grpc-middleware-v1.3.0
- ❌ golang.org/x/net-v0.7.0 (Vulnerable Library)
- github.com/grpc-ecosystem/go-grpc-middleware-v1.3.0
Found in HEAD commit: ac44173063e14aaf5e2fd3eca9caf9197f4d6dd5
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
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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 activity_worker/go_workflow/go.mod 开始,沿着从 go.temporal.io/sdk 经过 go-grpc-middleware 到 golang.org/x/net 的依赖层次进行追踪。检查是否可以将存在漏洞的传递依赖升级到已修复的版本,然后运行项目的 Go 依赖项或漏洞检查。完成的标准是该模块不再报告 CVE-2023-39325,或者 repository 记录无法修复该问题的原因。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- backend, security
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100
CVSS