Path to dependency file: /chaincode/samplecc/go/go.mod
Path to vulnerable library: /chaincode/samplecc/go/go.mod,/chaincode/simple/go/go.mod,/chaincode/cmcc/go/go.mod,/chaincode/cmcc/go/go.mod,/chaincode/samplecc/go/go.mod,/chaincode/simple/go/go.mod
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.
CVE-2021-38561 - High Severity Vulnerability
Vulnerable Libraries - github.com/golang/text-v0.3.2, github.com/golang/text-v0.3.6, github.com/golang/text-v0.3.0
github.com/golang/text-v0.3.2
[mirror] Go text processing support
Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.2.zip
Path to dependency file: /app/go/go.mod
Path to vulnerable library: /app/go/go.mod
Dependency Hierarchy: - github.com/hyperledger/fabric-sdk-go-v1.0.0-beta3 (Root Library) - github.com/spf13/vipeR-v1.1.1 - github.com/spf13/afero-v1.3.1 - :x: **github.com/golang/text-v0.3.2** (Vulnerable Library)
github.com/golang/text-v0.3.6
[mirror] Go text processing support
Library home page: https://proxy.golang.org/github.com/golang/text/@v/v0.3.6.zip
Path to dependency file: /chaincode/samplecc/go/go.mod
Path to vulnerable library: /chaincode/samplecc/go/go.mod,/chaincode/simple/go/go.mod,/chaincode/cmcc/go/go.mod,/chaincode/cmcc/go/go.mod,/chaincode/samplecc/go/go.mod,/chaincode/simple/go/go.mod
Dependency Hierarchy: - github.com/hyperledger/fabric-v1.4.1 (Root Library) - github.com/spf13/vipeR-v1.7.1 - github.com/spf13/afero-v1.1.2 - :x: **github.com/golang/text-v0.3.6** (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: /chaincode/privatemarbles/go/go.mod
Path to vulnerable library: /chaincode/privatemarbles/go/go.mod
Dependency Hierarchy: - github.com/hyperledger/fabric-protos-go-v0.0.0-20200422100619-316dc6798e96 (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 HEAD commit: 655167764fcdebd1047d2f63249a7596884c4b03
Found in base branch: main
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