Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

CVE-2021-38561 (High) detected in github.com/golang/text/language-v0.3.2 #6

Open
mend-bolt-for-github bot opened this issue Jan 27, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jan 27, 2022

CVE-2021-38561 - High Severity Vulnerability

Vulnerable Library - github.com/golang/text/language-v0.3.2

[mirror] Go text processing support

Dependency Hierarchy:

  • github.com/hashicorp/terraform-plugin-sdk/helper/schema-v1.2.0 (Root Library)
    • github.com/hashicorp/terraform-plugin-sdk/terraform-v1.2.0
      • github.com/hashicorp/terraform-plugin-sdk/internal/moduledeps-v1.2.0
        • github.com/hashicorp/terraform-plugin-sdk/internal/plugin/discovery-v1.2.0
          • github.com/hashicorp/terraform-plugin-sdk/internal/registry-v1.2.0
            • github.com/hashicorp/terraform-plugin-sdk/internal/svchost-v1.2.0
              • github.com/golang/net-v0.0.0-20200114155413-6afb5195e5aa
                • github.com/golang/text/secure/bidirule-v0.3.2
                  • github.com/golang/text/unicode/bidi-v0.3.2
                    • github.com/golang/text-v0.3.2
                    • github.com/golang/text/language-v0.3.2 (Vulnerable Library)

Vulnerability Details

Due to improper index calculation, an incorrectly formatted language tag can cause Parse
to panic, due to an out of bounds read. If Parse is used to process untrusted user inputs,
this may be used as a vector for a denial of service attack.

Publish Date: 2021-08-12

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

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants