Buffer Overflow Affecting isc-projects/dhcp package, versions [4.1-ESV-R1,4.1-ESV-R16-P2)[4.4.0,4.4.3-P1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (46th 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-UNMANAGED-ISCPROJECTSDHCP-3041019
  • published7 Oct 2022
  • disclosed7 Oct 2022
  • creditVictorV

Introduced: 7 Oct 2022

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

How to fix?

Upgrade isc-projects/dhcp to version 4.1-ESV-R16-P2, 4.4.3-P1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow when the function option_code_hash_lookup() is called from add_option(), by increasing the option's refcount field.

Workaround

Users who are unable to upgrade to the fixed version can disable lease query on the server for DHCPv4 or restart the server periodically.

CVSS Base Scores

version 3.1