Amazon Linux 2 : ecs-init (ALASECS-2024-032)

medium Nessus Plugin ID 187770

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of ecs-init installed on the remote host is prior to 1.75.0-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2ECS-2024-032 advisory.

- The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value. (CVE-2023-29406)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update ecs-init' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALASECS-2024-032.html

https://alas.aws.amazon.com/cve/html/CVE-2023-29406.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 187770

File Name: al2_ALASECS-2024-032.nasl

Version: 1.0

Type: local

Agent: unix

Published: 1/9/2024

Updated: 1/9/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2023-29406

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:ecs-init, cpe:/o:amazon:linux:2

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 1/3/2024

Vulnerability Publication Date: 7/11/2023

Reference Information

CVE: CVE-2023-29406

IAVB: 2023-B-0052-S