CVE-2022-2928 An option refcount overflow exists in dhcpd

Medium 6.5 Published Updated

An integer overflow in the DHCP server's option reference counting can cause the service to abort, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-2928?

CVE-2022-2928 is a medium-severity vulnerability in Debian Debian Linux, published on 7 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2022-2928?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Isc Dhcp.

How do I fix CVE-2022-2928?

Apply the vendor's patch.

Is CVE-2022-2928 being exploited?

There is no known exploitation of CVE-2022-2928 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-2928, DEBIAN-CVE-2022-2928, GHSA-5fp7-mmwq-gvmw, UBUNTU-CVE-2022-2928.

Is CVE-2022-2928 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free