Amazon Linux AMI update for amazon-ssm-agent



Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2021-43565
CVE-2022-41723
CVE-2023-24538
CWE-ID CWE-20
CWE-400
CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

amazon-ssm-agent
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU64805

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

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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

The vulnerability exists due to insufficient validation of user-supplied input when parsing a Signer to ServerConfig.AddHostKey in cases where the Signer passed to AddHostKey does not implement AlgorithmSigner or the Signer passed to AddHostKey returns a key of type “ssh-rsa” from its PublicKey method. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

aarch64:
    amazon-ssm-agent-debuginfo-3.2.1705.0-1.amzn2023.aarch64
    amazon-ssm-agent-3.2.1705.0-1.amzn2023.aarch64
    amazon-ssm-agent-debugsource-3.2.1705.0-1.amzn2023.aarch64

src:
    amazon-ssm-agent-3.2.1705.0-1.amzn2023.src

x86_64:
    amazon-ssm-agent-3.2.1705.0-1.amzn2023.x86_64
    amazon-ssm-agent-debuginfo-3.2.1705.0-1.amzn2023.x86_64
    amazon-ssm-agent-debugsource-3.2.1705.0-1.amzn2023.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1705.0-1

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-388.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 exhaustion

EUVDB-ID: #VU72686

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

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 in the HPACK decoder. A remote attacker can send a specially crafted HTTP/2 stream to the application, cause resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

aarch64:
    amazon-ssm-agent-debuginfo-3.2.1705.0-1.amzn2023.aarch64
    amazon-ssm-agent-3.2.1705.0-1.amzn2023.aarch64
    amazon-ssm-agent-debugsource-3.2.1705.0-1.amzn2023.aarch64

src:
    amazon-ssm-agent-3.2.1705.0-1.amzn2023.src

x86_64:
    amazon-ssm-agent-3.2.1705.0-1.amzn2023.x86_64
    amazon-ssm-agent-debuginfo-3.2.1705.0-1.amzn2023.x86_64
    amazon-ssm-agent-debugsource-3.2.1705.0-1.amzn2023.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1705.0-1

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-388.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) 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 packages:

aarch64:
    amazon-ssm-agent-debuginfo-3.2.1705.0-1.amzn2023.aarch64
    amazon-ssm-agent-3.2.1705.0-1.amzn2023.aarch64
    amazon-ssm-agent-debugsource-3.2.1705.0-1.amzn2023.aarch64

src:
    amazon-ssm-agent-3.2.1705.0-1.amzn2023.src

x86_64:
    amazon-ssm-agent-3.2.1705.0-1.amzn2023.x86_64
    amazon-ssm-agent-debuginfo-3.2.1705.0-1.amzn2023.x86_64
    amazon-ssm-agent-debugsource-3.2.1705.0-1.amzn2023.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1705.0-1

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-388.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.



###SIDEBAR###