artkamote / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
0 stars 0 forks source link

CVE-2021-38561 (High) detected in github.com/golang/text-v0.3.0, github.com/golang/text-v0.3.3 #358

Open mend-bolt-for-github[bot] opened 6 months ago

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

CVE-2021-38561 - High Severity Vulnerability

Vulnerable Libraries - github.com/golang/text-v0.3.0, github.com/golang/text-v0.3.3

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: /aws-golang-s3-file-replicator/go.mod

Path to vulnerable library: /aws-golang-s3-file-replicator/go.mod

Dependency Hierarchy: - github.com/aws/aws-Sdk-go-v1.30.7 (Root Library) - github.com/golang/net-v0.0.0-20200202094626-16171245cfb2 - :x: **github.com/golang/text-v0.3.0** (Vulnerable Library)

github.com/golang/text-v0.3.3

[mirror] Go text processing support

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

Path to dependency file: /aws-golang-rest-api-with-dynamodb/go.mod

Path to vulnerable library: /aws-golang-rest-api-with-dynamodb/go.mod

Dependency Hierarchy: - github.com/Aws/aws-sdk-go-v1.37.1 (Root Library) - github.com/golang/net-v0.0.0-20201110031124-69a78807bb2b - :x: **github.com/golang/text-v0.3.3** (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