Ubuntu update for golang-1.22



Risk Medium
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2024-24791
CVE-2024-34155
CVE-2024-34156
CVE-2024-34158
CWE-ID CWE-400
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

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

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

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

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Resource exhaustion

EUVDB-ID: #VU93850

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-2024-24791

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 handling of "Expect: 100-continue" HTTP requests. A remote attacker can send multiple such requests and consume all available resources.

Mitigation

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

Vulnerable software versions

Ubuntu: 20.04 - 24.04

golang-1.22-src (Ubuntu package): before 1.22.2-2ubuntu0.3

golang-1.22-go (Ubuntu package): before 1.22.2-2ubuntu0.3

golang-1.22 (Ubuntu package): before 1.22.2-2ubuntu0.3

CPE2.3 External links

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

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-2024-34155

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 go/parser does not properly control consumption of internal resources. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

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

Vulnerable software versions

Ubuntu: 20.04 - 24.04

golang-1.22-src (Ubuntu package): before 1.22.2-2ubuntu0.3

golang-1.22-go (Ubuntu package): before 1.22.2-2ubuntu0.3

golang-1.22 (Ubuntu package): before 1.22.2-2ubuntu0.3

CPE2.3 External links

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

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-2024-34156

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 encoding/gob does not properly control consumption of internal resources when calling Decoder.Decode. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Note, this vulnerability is related to #VU66068 (CVE-2024-34156).

Mitigation

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

Vulnerable software versions

Ubuntu: 20.04 - 24.04

golang-1.22-src (Ubuntu package): before 1.22.2-2ubuntu0.3

golang-1.22-go (Ubuntu package): before 1.22.2-2ubuntu0.3

golang-1.22 (Ubuntu package): before 1.22.2-2ubuntu0.3

CPE2.3 External links

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

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-2024-34158

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 go/build/constraint does not properly control consumption of internal resources when calling Parse on a "// +build" build tag line with deeply nested expressions. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

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

Vulnerable software versions

Ubuntu: 20.04 - 24.04

golang-1.22-src (Ubuntu package): before 1.22.2-2ubuntu0.3

golang-1.22-go (Ubuntu package): before 1.22.2-2ubuntu0.3

golang-1.22 (Ubuntu package): before 1.22.2-2ubuntu0.3

CPE2.3 External links

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