You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 Libraries - golang.org/x/text/encoding/unicode-v0.3.2, golang.org/x/text/encoding-v0.3.2, golang.org/x/text/internal/language/compact-v0.3.2, golang.org/x/text/internal/language-v0.3.2, golang.org/x/text/transform-v0.3.2
golang.org/x/text/encoding/unicode-v0.3.2
[mirror] Go text processing support
Dependency Hierarchy:
golang.org/x/text/encoding-v0.3.2
[mirror] Go text processing support
Dependency Hierarchy:
golang.org/x/text/internal/language/compact-v0.3.2
[mirror] Go text processing support
Dependency Hierarchy:
golang.org/x/text/internal/language-v0.3.2
[mirror] Go text processing support
Dependency Hierarchy:
golang.org/x/text/transform-v0.3.2
[mirror] Go text processing support
Dependency Hierarchy:
Found in HEAD commit: e6da2b93014fd481cd513e40af9bcf1ec77c893b
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:
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14040
Release Date: 2020-06-17
Fix Resolution: text - v0.3.3
The text was updated successfully, but these errors were encountered: