Integer Overflow or Wraparound Affecting dhcp-devel package, versions <12:4.2.5-79.amzn2.1.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.71% (52nd percentile)

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 IDSNYK-AMZN2-DHCPDEVEL-3110274
  • published9 Nov 2022
  • disclosed7 Oct 2022

Introduced: 7 Oct 2022

CVE-2022-2928  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 dhcp-devel to version 12:4.2.5-79.amzn2.1.2 or higher.
This issue was patched in ALAS2-2022-1874.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dhcp-devel package and not the dhcp-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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.

CVSS Base Scores

version 3.1