Amazon Linux 2 : pcs (ALAS-2024-2492)

medium Nessus Plugin ID 192209

Synopsis

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

Description

The version of pcs installed on the remote host is prior to 0.9.169-3. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2024-2492 advisory.

- Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack's media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1. (CVE-2024-25126)

- Rack is a modular Ruby web server interface. Carefully crafted Range headers can cause a server to respond with an unexpectedly large response. Responding with such large responses could lead to a denial of service issue. Vulnerable applications will use the `Rack::File` middleware or the `Rack::Utils.byte_ranges` methods (this includes Rails applications). The vulnerability is fixed in 3.0.9.1 and 2.2.8.1. (CVE-2024-26141)

- Rack is a modular Ruby web server interface. Carefully crafted headers can cause header parsing in Rack to take longer than expected resulting in a possible denial of service issue. Accept and Forwarded headers are impacted. Ruby 3.2 has mitigations for this problem, so Rack applications using Ruby 3.2 or newer are unaffected. This vulnerability is fixed in 2.0.9.4, 2.1.4.4, 2.2.8.1, and 3.0.9.1. (CVE-2024-26146)

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

Solution

Run 'yum update pcs' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2024-2492.html

https://alas.aws.amazon.com/cve/html/CVE-2024-25126.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26141.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26146.html

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

Plugin Details

Severity: Medium

ID: 192209

File Name: al2_ALAS-2024-2492.nasl

Version: 1.0

Type: local

Agent: unix

Published: 3/18/2024

Updated: 3/18/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 1.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:N/A:C

CVSS Score Source: CVE-2024-26141

CVSS v3

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 5.1

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:pcs, p-cpe:/a:amazon:linux:pcs-debuginfo, p-cpe:/a:amazon:linux:pcs-snmp, 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: 3/13/2024

Vulnerability Publication Date: 2/28/2024

Reference Information

CVE: CVE-2024-25126, CVE-2024-26141, CVE-2024-26146