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

medium Nessus Plugin ID 187774

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.79.1-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2ECS-2024-031 advisory.

- Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack. (CVE-2023-3978)

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-031.html

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

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

Plugin Details

Severity: Medium

ID: 187774

File Name: al2_ALASECS-2024-031.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.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2023-3978

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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: 8/2/2023

Reference Information

CVE: CVE-2023-3978

IAVB: 2023-B-0080-S