Amazon Linux AMI update for golang



Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2023-39326
CVE-2023-45283
CVE-2023-45284
CWE-ID CWE-400
CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

golang
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Resource exhaustion

EUVDB-ID: #VU83928

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-39326

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 handling HTTP chunked requests. A remote attacker can send specially crafted HTTP requests to the server and consume excessive memory resources.

Mitigation

Update the affected packages:

aarch64:
    golang-bin-1.20.12-1.amzn2023.0.1.aarch64
    golang-1.20.12-1.amzn2023.0.1.aarch64
    golang-shared-1.20.12-1.amzn2023.0.1.aarch64

noarch:
    golang-docs-1.20.12-1.amzn2023.0.1.noarch
    golang-misc-1.20.12-1.amzn2023.0.1.noarch
    golang-src-1.20.12-1.amzn2023.0.1.noarch
    golang-tests-1.20.12-1.amzn2023.0.1.noarch

src:
    golang-1.20.12-1.amzn2023.0.1.src

x86_64:
    golang-bin-1.20.12-1.amzn2023.0.1.x86_64
    golang-1.20.12-1.amzn2023.0.1.x86_64
    golang-shared-1.20.12-1.amzn2023.0.1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

golang: before 1.20.12-1.49

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2024-477.html


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) Input validation error

EUVDB-ID: #VU83255

Risk: Low

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

CVE-ID: CVE-2023-45283

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a local user to bypass implemented security restrictions.

The vulnerability exists due to the path/filepath package does not recognize paths with a "??" prefix as Root Local Device path prefix. A local user can abuse such behavior and bypass implemented security restrictions.

Mitigation

Update the affected packages:

aarch64:
    golang-bin-1.20.12-1.amzn2023.0.1.aarch64
    golang-1.20.12-1.amzn2023.0.1.aarch64
    golang-shared-1.20.12-1.amzn2023.0.1.aarch64

noarch:
    golang-docs-1.20.12-1.amzn2023.0.1.noarch
    golang-misc-1.20.12-1.amzn2023.0.1.noarch
    golang-src-1.20.12-1.amzn2023.0.1.noarch
    golang-tests-1.20.12-1.amzn2023.0.1.noarch

src:
    golang-1.20.12-1.amzn2023.0.1.src

x86_64:
    golang-bin-1.20.12-1.amzn2023.0.1.x86_64
    golang-1.20.12-1.amzn2023.0.1.x86_64
    golang-shared-1.20.12-1.amzn2023.0.1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

golang: before 1.20.12-1.49

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2024-477.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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

3) Input validation error

EUVDB-ID: #VU83254

Risk: Low

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

CVE-ID: CVE-2023-45284

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a local user to bypass implemented security restrictions.

The vulnerability exists due to the IsLocal() function from the path/filepath package does not correctly detect reserved device names in some cases when executed on Windows. Reserved names followed by spaces, such as "COM1 ", and reserved names "COM" and "LPT" followed by superscript 1, 2, or 3, are incorrectly reported as local. A local user can abuse such behavior and bypass implemented security restrictions.

Mitigation

Update the affected packages:

aarch64:
    golang-bin-1.20.12-1.amzn2023.0.1.aarch64
    golang-1.20.12-1.amzn2023.0.1.aarch64
    golang-shared-1.20.12-1.amzn2023.0.1.aarch64

noarch:
    golang-docs-1.20.12-1.amzn2023.0.1.noarch
    golang-misc-1.20.12-1.amzn2023.0.1.noarch
    golang-src-1.20.12-1.amzn2023.0.1.noarch
    golang-tests-1.20.12-1.amzn2023.0.1.noarch

src:
    golang-1.20.12-1.amzn2023.0.1.src

x86_64:
    golang-bin-1.20.12-1.amzn2023.0.1.x86_64
    golang-1.20.12-1.amzn2023.0.1.x86_64
    golang-shared-1.20.12-1.amzn2023.0.1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

golang: before 1.20.12-1.49

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2024-477.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###