CVE-2022-2928

An option refcount overflow exists in dhcpd

State
Published
Severity
6.5 Medium
Published
Oct 7, 2022
Updated
Sep 17, 2024
Reserved
Aug 22, 2022

Read the record on cve.org

Description

In ISC DHCP 4.4.0 -> 4.4.3, ISC DHCP 4.1-ESV-R1 -> 4.1-ESV-R16-P1, when the function option_code_hash_lookup() 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 function add_option() is only used in server responses to lease query packets. Each lease query response calls this function for several options, so eventually, the reference counters could overflow and cause the server to abort.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hisc

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
ISC DHCPISC
  • 4.4.0 through versions before 4.4.3-P1Affected
  • 4.1 ESV 4.1-ESV-R1 through versions before 4.1-ESV-R16-P1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.