Ubuntu update for golang-golang-x-text



Risk Medium
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2020-14040
CVE-2020-28851
CVE-2020-28852
CVE-2021-38561
CVE-2022-32149
CWE-ID CWE-835
CWE-129
CWE-125
CWE-400
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

golang-x-text-dev (Ubuntu package)
Operating systems & Components / Operating system package or component

golang-golang-x-text-dev (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Infinite loop

EUVDB-ID: #VU34248

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-14040

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

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.

Mitigation

Update the affected package golang-golang-x-text to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

golang-x-text-dev (Ubuntu package): before 0.0~git20170627.0.6353ef0-1ubuntu2.1

golang-golang-x-text-dev (Ubuntu package): before 0.0~git20170627.0.6353ef0-1ubuntu2.1

CPE2.3 External links

http://ubuntu.com/security/notices/USN-5873-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Improper Validation of Array Index

EUVDB-ID: #VU68779

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-28851,CVE-2020-28852

CWE-ID: CWE-129 - Improper Validation of Array Index

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper validation of array index in language.ParseAcceptLanguage while processing a BCP 47 tag. A remote attacker can send a specially crafted HTTP request containing a malformed HTTP Accept-Language header and perform a denial of service (DoS) attack.

Mitigation

Update the affected package golang-golang-x-text to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

golang-x-text-dev (Ubuntu package): before 0.0~git20170627.0.6353ef0-1ubuntu2.1

golang-golang-x-text-dev (Ubuntu package): before 0.0~git20170627.0.6353ef0-1ubuntu2.1

CPE2.3 External links

http://ubuntu.com/security/notices/USN-5873-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Out-of-bounds read

EUVDB-ID: #VU65006

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-38561

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition. A remote attacker can pass specially crafted input to the application, trigger an out-of-bounds read error and perform a denial of service (DoS) attack.

Mitigation

Update the affected package golang-golang-x-text to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

golang-x-text-dev (Ubuntu package): before 0.0~git20170627.0.6353ef0-1ubuntu2.1

golang-golang-x-text-dev (Ubuntu package): before 0.0~git20170627.0.6353ef0-1ubuntu2.1

CPE2.3 External links

http://ubuntu.com/security/notices/USN-5873-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Resource exhaustion

EUVDB-ID: #VU68897

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-32149

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to ParseAcceptLanguage does not properly control consumption of internal resources. A remote attacker can send a specially crafted Accept-Language header that will take a significant time to parse and perform a denial of service (DoS) attack.

Mitigation

Update the affected package golang-golang-x-text to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

golang-x-text-dev (Ubuntu package): before 0.0~git20170627.0.6353ef0-1ubuntu2.1

golang-golang-x-text-dev (Ubuntu package): before 0.0~git20170627.0.6353ef0-1ubuntu2.1

CPE2.3 External links

http://ubuntu.com/security/notices/USN-5873-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###