Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2022-1874

Active Moderate

ALAS2-2022-1874 (medium): dhcp

Published
08 Nov 2022
Updated
08 Nov 2022

Related CVEs

CVE identifiers linked by this publisher.

2
Publisher relationship details 2 records
Explicit publisher CVE relationships
CVE
CVE-2022-2928
CVE-2022-2929

Description

An integer overflow vulnerability was found in the DHCP server. When the "option_code_hash_lookup()" function is called from "add_option()", it increases the option's "refcount" field. However, there is not a corresponding call to "option_dereference()" to decrement the "refcount" field. The "add_option()" function is only used in server responses to lease

Read full publisher description 1479 characters

An integer overflow vulnerability was found in the DHCP server. When the "option_code_hash_lookup()" function is called from "add_option()", it increases the option's "refcount" field. However, there is not a corresponding call to "option_dereference()" to decrement the "refcount" field. The "add_option()" function is only used in server responses to lease query packets. Each lease query response calls this function for several options. Hence, a DHCP server configured with "allow lease query" a remote machine with access to the server, can send lease queries for the same lease multiple times, leading to the "add_option()" function being called repeatedly. This issue could cause the reference counters to overflow and the server to abort or crash. (CVE-2022-2928) A vulnerability was found in the DHCP server where the "fqdn_universe_decode()" function allocates buffer space for the contents of option 81 (fqdn) data received in a DHCP packet. The maximum length of a DNS "label" is 63 bytes. The function tests the length byte of each label contained in the "fqdn"; if it finds a label whose length byte value is larger than 63, it returns without dereferencing the buffer space. This issue causes a memory leak. On a system with access to a DHCP server, an attacker from any adjacent network could send DHCP packets crafted to include "fqdn" labels longer than 63 bytes to the DHCP server, eventually causing the server to run out of memory and crash. (CVE-2022-2929)

Solution

Run yum update dhcp or yum update --advisory ALAS2-2022-1874 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1dhcp

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • dhcp-4.2.5-79.amzn2.1.2.aarch64
    • dhclient-4.2.5-79.amzn2.1.2.aarch64
    • dhcp-common-4.2.5-79.amzn2.1.2.aarch64
    • dhcp-libs-4.2.5-79.amzn2.1.2.aarch64
    • dhcp-devel-4.2.5-79.amzn2.1.2.aarch64
    • dhcp-debuginfo-4.2.5-79.amzn2.1.2.aarch64
  2. 2dhcp

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • dhcp-4.2.5-79.amzn2.1.2.i686
    • dhclient-4.2.5-79.amzn2.1.2.i686
    • dhcp-common-4.2.5-79.amzn2.1.2.i686
    • dhcp-libs-4.2.5-79.amzn2.1.2.i686
    • dhcp-devel-4.2.5-79.amzn2.1.2.i686
    • dhcp-debuginfo-4.2.5-79.amzn2.1.2.i686
  3. 3dhcp

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • dhcp-4.2.5-79.amzn2.1.2.src
  4. 4dhcp

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • dhcp-4.2.5-79.amzn2.1.2.x86_64
    • dhclient-4.2.5-79.amzn2.1.2.x86_64
    • dhcp-common-4.2.5-79.amzn2.1.2.x86_64
    • dhcp-libs-4.2.5-79.amzn2.1.2.x86_64
    • dhcp-devel-4.2.5-79.amzn2.1.2.x86_64
    • dhcp-debuginfo-4.2.5-79.amzn2.1.2.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

4
  • CVE-2022-2928 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-2928
  • CVE-2022-2929 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-2929
  • CVE-2022-2928 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2928
  • CVE-2022-2929 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2929

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2022-1874.htmlUnknownf4833c5b65705d4f5cf5cb6853978643c53d346f46dcb5901d0f652f9e86c23aamazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1874.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1874.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected