Ubuntu update for golang-1.19



Risk High
Patch available YES
Number of vulnerabilities 8
CVE-ID CVE-2022-41724
CVE-2022-41725
CVE-2023-24534
CVE-2023-24537
CVE-2023-24538
CVE-2023-24539
CVE-2023-24540
CVE-2023-29400
CWE-ID CWE-399
CWE-400
CWE-835
CWE-94
CWE-79
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

golang-1.20-src (Ubuntu package)
Operating systems & Components / Operating system package or component

golang-1.19 (Ubuntu package)
Operating systems & Components / Operating system package or component

golang-1.20 (Ubuntu package)
Operating systems & Components / Operating system package or component

golang-1.20-go (Ubuntu package)
Operating systems & Components / Operating system package or component

golang-1.19-src (Ubuntu package)
Operating systems & Components / Operating system package or component

golang-1.19-go (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 8 vulnerabilities.

1) Resource management error

EUVDB-ID: #VU72685

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-41724

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

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

The vulnerability exists due to improper management of internal resources in crypto/tls when handling large TLS handshake records. A remote attacker can send specially crafted data to the application and perform a denial of service (DoS) attack.

The vulnerability affects all TLS 1.3 clients, TLS 1.2 clients which explicitly enable session resumption (by setting Config.ClientSessionCache to a non-nil value), and TLS 1.3 servers which request client certificates (by setting Config.ClientAuth >= RequestClientCert).

Mitigation

Update the affected package golang-1.19 to the latest version.

Vulnerable software versions

Ubuntu: 22.10 - 23.04

golang-1.20-src (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19 (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.20 (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.20-go (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19-src (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.19-go (Ubuntu package): before 1.19.2-1ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6140-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) Resource exhaustion

EUVDB-ID: #VU73722

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-41725

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 improper control over internal resources in net/http and mime/multipart. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Update the affected package golang-1.19 to the latest version.

Vulnerable software versions

Ubuntu: 22.10 - 23.04

golang-1.20-src (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19 (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.20 (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.20-go (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19-src (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.19-go (Ubuntu package): before 1.19.2-1ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6140-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) Resource exhaustion

EUVDB-ID: #VU74571

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-24534

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 application does not properly control consumption of internal resources when parsing HTTP and MIME headers in net/textproto. A remote attacker can cause an HTTP server to allocate large amounts of memory from a small request and perform a denial of service (DoS) attack.

Mitigation

Update the affected package golang-1.19 to the latest version.

Vulnerable software versions

Ubuntu: 22.10 - 23.04

golang-1.20-src (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19 (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.20 (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.20-go (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19-src (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.19-go (Ubuntu package): before 1.19.2-1ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6140-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) Infinite loop

EUVDB-ID: #VU74573

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-24537

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

Exploit availability: No

Description

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

The vulnerability exists due to infinite loop when calling any of the Parse functions on Go source code which contains //line directives with very large line numbers. A remote attacker can consume all available system resources and cause denial of service conditions.

Mitigation

Update the affected package golang-1.19 to the latest version.

Vulnerable software versions

Ubuntu: 22.10 - 23.04

golang-1.20-src (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19 (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.20 (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.20-go (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19-src (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.19-go (Ubuntu package): before 1.19.2-1ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6140-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.

5) Code Injection

EUVDB-ID: #VU74574

Risk: High

CVSSv4.0: 8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2023-24538

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in html/template when handling JavaScript templates that contain backticks in code. If a template contains a Go template action within a JavaScript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary JavaScript code into the Go template.

Mitigation

Update the affected package golang-1.19 to the latest version.

Vulnerable software versions

Ubuntu: 22.10 - 23.04

golang-1.20-src (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19 (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.20 (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.20-go (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19-src (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.19-go (Ubuntu package): before 1.19.2-1ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6140-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.

6) Cross-site scripting

EUVDB-ID: #VU75790

Risk: Medium

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-24539

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data when handling angle brackets in CSS context. A remote attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation

Update the affected package golang-1.19 to the latest version.

Vulnerable software versions

Ubuntu: 22.10 - 23.04

golang-1.20-src (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19 (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.20 (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.20-go (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19-src (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.19-go (Ubuntu package): before 1.19.2-1ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6140-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.

7) Code Injection

EUVDB-ID: #VU75791

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-24540

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to improper input validation when processing whitespace characters. A remote attacker can send a specially crafted request and execute arbitrary JavaScript code.

Mitigation

Update the affected package golang-1.19 to the latest version.

Vulnerable software versions

Ubuntu: 22.10 - 23.04

golang-1.20-src (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19 (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.20 (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.20-go (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19-src (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.19-go (Ubuntu package): before 1.19.2-1ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6140-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.

8) Cross-site scripting

EUVDB-ID: #VU75792

Risk: Medium

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-29400

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data when processing HTML attributes. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation

Update the affected package golang-1.19 to the latest version.

Vulnerable software versions

Ubuntu: 22.10 - 23.04

golang-1.20-src (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19 (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.20 (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.20-go (Ubuntu package): before 1.20.3-1ubuntu0.1

golang-1.19-src (Ubuntu package): before 1.19.2-1ubuntu1.1

golang-1.19-go (Ubuntu package): before 1.19.2-1ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6140-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###