Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2020-14040 (High) detected in github.com/golang/text-v0.3.2, github.com/golang/text/transform-v0.3.2 #339

Open
mend-for-github-com bot opened this issue Apr 21, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Apr 21, 2021

CVE-2020-14040 - High Severity Vulnerability

Vulnerable Libraries - github.com/golang/text-v0.3.2, github.com/golang/text/transform-v0.3.2

github.com/golang/text-v0.3.2

[mirror] Go text processing support

Dependency Hierarchy:

  • gopkg.in/couchbase/gocb.v1-v1.6.1 (Root Library)
    • gopkg.in/couchbase/gocbcore.v7-v7.1.13
      • golang.org/x/net/http2-ca1201d0de80cfde86cb01aea620983605dfe99b
        • golang.org/x/net/http/httpguts-ca1201d0de80cfde86cb01aea620983605dfe99b
          • golang.org/x/net/idna-ca1201d0de80cfde86cb01aea620983605dfe99b
            • github.com/golang/text/secure/bidirule-v0.3.2
              • github.com/golang/text/unicode/bidi-v0.3.2
                • github.com/golang/text/unicode/rangetable-v0.3.2
                  • github.com/golang/text-v0.3.2 (Vulnerable Library)
github.com/golang/text/transform-v0.3.2

[mirror] Go text processing support

Dependency Hierarchy:

  • go.mongodb.org/mongo-driver/mongo-v1.0.3 (Root Library)
    • go.mongodb.org/mongo-driver/x/mongo/driver/topology-v1.0.3
      • go.mongodb.org/mongo-driver/x/mongo/driver/auth-v1.0.3
        • github.com/xdg/scram-7eeb5667e42c09cb51bf7b7c28aea8c56767da90
          • github.com/xdg/stringprep-v1.0.3
            • github.com/golang/text-v0.3.2
              • github.com/golang/text/transform-v0.3.2 (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

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Apr 21, 2021
@mend-for-github-com mend-for-github-com bot changed the title CVE-2020-14040 (High) detected in github.com/golang/text/transform-v0.3.2 CVE-2020-14040 (High) detected in github.com/golang/text-v0.3.2, github.com/golang/text/transform-v0.3.2 Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants