Amazon Linux AMI update for amazon-ssm-agent



Published: 2023-09-11
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
Subscribe
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

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

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

x86_64:
    amazon-ssm-agent-3.2.1377.0-1.amzn1.x86_64
    amazon-ssm-agent-debuginfo-3.2.1377.0-1.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1377.0-1

External links

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

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

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

x86_64:
    amazon-ssm-agent-3.2.1377.0-1.amzn1.x86_64
    amazon-ssm-agent-debuginfo-3.2.1377.0-1.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1377.0-1

External links

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

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

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

x86_64:
    amazon-ssm-agent-3.2.1377.0-1.amzn1.x86_64
    amazon-ssm-agent-debuginfo-3.2.1377.0-1.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1377.0-1

External links

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

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

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

x86_64:
    amazon-ssm-agent-3.2.1377.0-1.amzn1.x86_64
    amazon-ssm-agent-debuginfo-3.2.1377.0-1.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

amazon-ssm-agent: before 3.2.1377.0-1

External links

http://alas.aws.amazon.com/ALAS-2023-1825.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###