vipinsun / fabric

Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
0 stars 0 forks source link

github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd: 9 vulnerabilities (highest severity is: 7.5) #102

Open mend-bolt-for-github[bot] opened 1 month ago

mend-bolt-for-github[bot] commented 1 month ago
Vulnerable Library - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (github.com/hyperledger/fabric-protos-go-v0.0.0 version) Remediation Possible**
CVE-2022-41721 High 7.5 github.com/golang/net-v0.0.0-20190603091049-60506f45cf65 Transitive N/A*
CVE-2022-32149 High 7.5 github.com/golang/text-v0.3.0 Transitive N/A*
CVE-2022-27664 High 7.5 github.com/golang/net-v0.0.0-20190603091049-60506f45cf65 Transitive N/A*
CVE-2021-44716 High 7.5 github.com/golang/net-v0.0.0-20190603091049-60506f45cf65 Transitive N/A*
CVE-2021-38561 High 7.5 github.com/golang/text-v0.3.0 Transitive N/A*
CVE-2021-33194 High 7.5 github.com/golang/net-v0.0.0-20190603091049-60506f45cf65 Transitive N/A*
CVE-2020-14040 High 7.5 github.com/golang/text-v0.3.0 Transitive N/A*
CVE-2021-31525 Medium 5.9 github.com/golang/net-v0.0.0-20190603091049-60506f45cf65 Transitive N/A*
CVE-2022-29526 Medium 5.3 github.com/golang/sys-v0.0.0-20190710143415-6ec70d6a5542 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-2022-41721 ### Vulnerable Library - github.com/golang/net-v0.0.0-20190603091049-60506f45cf65

[mirror] Go supplementary network libraries

Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20190603091049-60506f45cf65.zip

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd (Root Library) - github.com/gRPC/grpc-go-v1.23.0 - :x: **github.com/golang/net-v0.0.0-20190603091049-60506f45cf65** (Vulnerable Library)

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

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-32149 ### Vulnerable Library - github.com/golang/text-v0.3.0

[mirror] Go text processing support

Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.0.zip

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd (Root Library) - github.com/gRPC/grpc-go-v1.23.0 - github.com/golang/net-v0.0.0-20190603091049-60506f45cf65 - :x: **github.com/golang/text-v0.3.0** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.

Publish Date: 2022-10-14

URL: CVE-2022-32149

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

Release Date: 2022-10-14

Fix Resolution: v0.3.8

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-27664 ### Vulnerable Library - github.com/golang/net-v0.0.0-20190603091049-60506f45cf65

[mirror] Go supplementary network libraries

Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20190603091049-60506f45cf65.zip

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd (Root Library) - github.com/gRPC/grpc-go-v1.23.0 - :x: **github.com/golang/net-v0.0.0-20190603091049-60506f45cf65** (Vulnerable Library)

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

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-44716 ### Vulnerable Library - github.com/golang/net-v0.0.0-20190603091049-60506f45cf65

[mirror] Go supplementary network libraries

Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20190603091049-60506f45cf65.zip

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd (Root Library) - github.com/gRPC/grpc-go-v1.23.0 - :x: **github.com/golang/net-v0.0.0-20190603091049-60506f45cf65** (Vulnerable Library)

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

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-38561 ### Vulnerable Library - github.com/golang/text-v0.3.0

[mirror] Go text processing support

Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.0.zip

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd (Root Library) - github.com/gRPC/grpc-go-v1.23.0 - github.com/golang/net-v0.0.0-20190603091049-60506f45cf65 - :x: **github.com/golang/text-v0.3.0** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.

Publish Date: 2022-12-26

URL: CVE-2021-38561

### 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://osv.dev/vulnerability/GO-2021-0113

Release Date: 2021-08-12

Fix Resolution: v0.3.7

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-33194 ### Vulnerable Library - github.com/golang/net-v0.0.0-20190603091049-60506f45cf65

[mirror] Go supplementary network libraries

Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20190603091049-60506f45cf65.zip

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd (Root Library) - github.com/gRPC/grpc-go-v1.23.0 - :x: **github.com/golang/net-v0.0.0-20190603091049-60506f45cf65** (Vulnerable Library)

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

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2020-14040 ### Vulnerable Library - github.com/golang/text-v0.3.0

[mirror] Go text processing support

Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.0.zip

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd (Root Library) - github.com/gRPC/grpc-go-v1.23.0 - github.com/golang/net-v0.0.0-20190603091049-60506f45cf65 - :x: **github.com/golang/text-v0.3.0** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.

Publish Date: 2020-06-17

URL: CVE-2020-14040

### 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://osv.dev/vulnerability/GO-2020-0015

Release Date: 2020-06-17

Fix Resolution: v0.3.3

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2021-31525 ### Vulnerable Library - github.com/golang/net-v0.0.0-20190603091049-60506f45cf65

[mirror] Go supplementary network libraries

Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20190603091049-60506f45cf65.zip

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd (Root Library) - github.com/gRPC/grpc-go-v1.23.0 - :x: **github.com/golang/net-v0.0.0-20190603091049-60506f45cf65** (Vulnerable Library)

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

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2022-29526 ### Vulnerable Library - github.com/golang/sys-v0.0.0-20190710143415-6ec70d6a5542

[mirror] Go packages for low-level interaction with the operating system

Library home page: https://proxy.golang.org/github.com/golang/sys/@v/v0.0.0-20190710143415-6ec70d6a5542.zip

Path to dependency file: /integration/chaincode/module/go.mod

Path to vulnerable library: /integration/chaincode/module/go.mod

Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20190903152505-b42e76e96ddd (Root Library) - github.com/gRPC/grpc-go-v1.23.0 - :x: **github.com/golang/sys-v0.0.0-20190710143415-6ec70d6a5542** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.

Publish Date: 2022-06-22

URL: CVE-2022-29526

### CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://security-tracker.debian.org/tracker/CVE-2022-29526

Release Date: 2022-06-23

Fix Resolution: go1.17.10,go1.18.2,go1.19

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)