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.
CVE-2020-14040 - High Severity Vulnerability
Vulnerable Library - github.com/google/certificate-transparency-go-v1.0.20
Auditing for TLS certificates (Go code)
Library home page: https://proxy.golang.org/github.com/google/certificate-transparency-go/@v/v1.0.20.zip
Dependency Hierarchy: - github.com/docker/swarmkit/ca-5a5494a9a7b408b790533a5e4e1cb43ca1c32aad (Root Library) - github.com/cloudflare/cfssl/initca-1.3.2 - github.com/cloudflare/cfssl/config-1.3.2 - github.com/cloudflare/cfssl/helpers-1.3.2 - :x: **github.com/google/certificate-transparency-go-v1.0.20** (Vulnerable Library)
Found in HEAD commit: 74c0db1e26014a7f5e115cea39a5b8613c912db7
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