Amazon Linux AMI update for amazon-ssm-agent



Risk Medium
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2021-43565
CVE-2022-27191
CVE-2022-27664
CVE-2022-41723
CWE-ID CWE-20
CWE-327
CWE-400
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 4 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.1377.0-1.amzn2023.aarch64
    amazon-ssm-agent-3.2.1377.0-1.amzn2023.aarch64
    amazon-ssm-agent-debugsource-3.2.1377.0-1.amzn2023.aarch64

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1377.0-1

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-339.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) Use of a broken or risky cryptographic algorithm

EUVDB-ID: #VU62039

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

CWE-ID: CWE-327 - Use of a Broken or Risky Cryptographic Algorithm

Exploit availability: No

Description

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

The vulnerability exists due to an error in golang.org/x/crypto/ssh before 0.0.0-20220314234659-1baeb1ce4c0b, as used in Go programming language. A remote attacker can crash a server in certain circumstances involving AddHostKey.

Mitigation

Update the affected packages:

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

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1377.0-1

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-339.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) Input validation error

EUVDB-ID: #VU67396

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

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 an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error. 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.1377.0-1.amzn2023.aarch64
    amazon-ssm-agent-3.2.1377.0-1.amzn2023.aarch64
    amazon-ssm-agent-debugsource-3.2.1377.0-1.amzn2023.aarch64

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1377.0-1

CPE2.3 External links

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

4) 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.1377.0-1.amzn2023.aarch64
    amazon-ssm-agent-3.2.1377.0-1.amzn2023.aarch64
    amazon-ssm-agent-debugsource-3.2.1377.0-1.amzn2023.aarch64

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

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

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1377.0-1

CPE2.3 External links

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