Amazon Linux AMI : dhcp (ALAS-2021-1510)

high Nessus Plugin ID 151509

Synopsis

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

Description

The version of dhcp installed on the remote host is prior to 4.1.1-53.P1.29. It is, therefore, affected by a vulnerability as referenced in the ALAS-2021-1510 advisory.

A flaw was found in the Dynamic Host Configuration Protocol (DHCP). There is a discrepancy between the code that handles encapsulated option information in leases transmitted on the wire and the code which reads and parses lease information after it has been written to disk storage. This flaw allows an attacker to deliberately cause a situation where dhcpd while running in DHCPv4 or DHCPv6 mode, or the dhclient attempts to read a stored lease that contains option information, to trigger a stack-based buffer overflow in the option parsing code for colon-separated hex digits values. The highest threat from this vulnerability is to data confidentiality and integrity as well as service availability. (CVE-2021-25217)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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 dhcp' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2021-1510.html

https://access.redhat.com/security/cve/CVE-2021-25217

Plugin Details

Severity: High

ID: 151509

File Name: ala_ALAS-2021-1510.nasl

Version: 1.5

Type: local

Agent: unix

Published: 7/13/2021

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Low

Base Score: 3.3

Temporal Score: 2.6

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

CVSS Score Source: CVE-2021-25217

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.7

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:dhcp-common, p-cpe:/a:amazon:linux:dhclient, p-cpe:/a:amazon:linux:dhcp, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:dhcp-devel, p-cpe:/a:amazon:linux:dhcp-debuginfo

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/8/2021

Vulnerability Publication Date: 5/26/2021

Reference Information

CVE: CVE-2021-25217

ALAS: 2021-1510

IAVB: 2021-B-0032-S