Amazon Linux AMI update for golang



Published: 2021-09-08 | Updated: 2022-10-19
Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2021-33197
CVE-2021-33198
CVE-2021-34558
CWE-ID CWE-862
CWE-399
CWE-295
Exploitation vector Network
Public exploit Public exploit code for vulnerability #3 is available.
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Missing Authorization

EUVDB-ID: #VU56023

Risk: Medium

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

CVE-ID: CVE-2021-33197

CWE-ID: CWE-862 - Missing Authorization

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass authorization process.

The vulnerability exists due to an error in some configurations of ReverseProxy (from net/http/httputil). A remote attacker can drop arbitrary headers and bypass authorization process. 

Mitigation

Update the affected packages:

i686:
    golang-1.15.14-1.69.amzn1.i686
    golang-bin-1.15.14-1.69.amzn1.i686

noarch:
    golang-tests-1.15.14-1.69.amzn1.noarch
    golang-misc-1.15.14-1.69.amzn1.noarch
    golang-docs-1.15.14-1.69.amzn1.noarch
    golang-src-1.15.14-1.69.amzn1.noarch

src:
    golang-1.15.14-1.69.amzn1.src

x86_64:
    golang-1.15.14-1.69.amzn1.x86_64
    golang-race-1.15.14-1.69.amzn1.x86_64
    golang-bin-1.15.14-1.69.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2021-1527.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) Resource management error

EUVDB-ID: #VU56024

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-2021-33198

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 within the application when handling a large exponent to the math/big.Rat SetString or UnmarshalText method.  A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

i686:
    golang-1.15.14-1.69.amzn1.i686
    golang-bin-1.15.14-1.69.amzn1.i686

noarch:
    golang-tests-1.15.14-1.69.amzn1.noarch
    golang-misc-1.15.14-1.69.amzn1.noarch
    golang-docs-1.15.14-1.69.amzn1.noarch
    golang-src-1.15.14-1.69.amzn1.noarch

src:
    golang-1.15.14-1.69.amzn1.src

x86_64:
    golang-1.15.14-1.69.amzn1.x86_64
    golang-race-1.15.14-1.69.amzn1.x86_64
    golang-bin-1.15.14-1.69.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2021-1527.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.

3) Improper Certificate Validation

EUVDB-ID: #VU55665

Risk: Medium

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

CVE-ID: CVE-2021-34558

CWE-ID: CWE-295 - Improper Certificate Validation

Exploit availability: Yes

Description

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

The vulnerability exists due to improper certificate verification in crypto/tls package in Go when processing X.509 certificates. The application does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic.

Mitigation

Update the affected packages:

i686:
    golang-1.15.14-1.69.amzn1.i686
    golang-bin-1.15.14-1.69.amzn1.i686

noarch:
    golang-tests-1.15.14-1.69.amzn1.noarch
    golang-misc-1.15.14-1.69.amzn1.noarch
    golang-docs-1.15.14-1.69.amzn1.noarch
    golang-src-1.15.14-1.69.amzn1.noarch

src:
    golang-1.15.14-1.69.amzn1.src

x86_64:
    golang-1.15.14-1.69.amzn1.x86_64
    golang-race-1.15.14-1.69.amzn1.x86_64
    golang-bin-1.15.14-1.69.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2021-1527.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. However, proof of concept for this vulnerability is available.



###SIDEBAR###