Integer Overflow or Wraparound Affecting dhcp-client package, versions *


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Availability High
Expand this section
NVD
6.5 medium
Expand this section
Red Hat
6.5 medium
Expand this section
SUSE
6.5 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS8-DHCPCLIENT-3040586
  • published 6 Oct 2022
  • disclosed 5 Oct 2022

How to fix?

There is no fixed version for Centos:8 dhcp-client.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dhcp-client package and not the dhcp-client package as distributed by Centos:8. See How to fix? for Centos:8 relevant fixed versions and status.

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.