QID 352819

Date Published: 2021-09-15

QID 352819: Amazon Linux Security Advisory for dhcp: AL2012-2021-343

Package updates are available for amazon linux that fix the following vulnerabilities:
cve-2021-25217: 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.
1963258: cve-2021-25217 dhcp: stack-based buffer overflow when parsing statements with colon-separated hex digits in config or lease files in dhcpd and dhclient


Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Allows unauthorized disclosure of information; allows unauthorized modification; allows disruption of service.

  • CVSS V3 rated as High - 7.4 severity.
  • CVSS V2 rated as Medium - 3.3 severity.
  • Solution
    Administrators are advised to apply the appropriate software updates.
    Vendor References

    CVEs related to QID 352819

    Software Advisories
    Advisory ID Software Component Link
    AL2012-2021-343 Amazon Linux Bare Metal URL Logo docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-updates.html