cve.bz

CVE-2022-2928 NULL Pointer Dereference

6.5 mediumEPSS 0.7%

Medium (6.5). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-2928 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2928?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2928?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-2928 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
isc:dhcpfrom 4.4.0 through 4.4.3
isc:dhcp4.1-esv:r1
isc:dhcp4.1-esv:r10
isc:dhcp4.1-esv:r10_b1
isc:dhcp4.1-esv:r10_rc1
isc:dhcp4.1-esv:r10b1
isc:dhcp4.1-esv:r10rc1
isc:dhcp4.1-esv:r11
isc:dhcp4.1-esv:r11_b1
isc:dhcp4.1-esv:r11_rc1
isc:dhcp4.1-esv:r11_rc2
isc:dhcp4.1-esv:r11b1
isc:dhcp4.1-esv:r11rc1
isc:dhcp4.1-esv:r11rc2
isc:dhcp4.1-esv:r12
isc:dhcp4.1-esv:r12-p1
isc:dhcp4.1-esv:r12_b1
isc:dhcp4.1-esv:r12_p1
isc:dhcp4.1-esv:r12b1
isc:dhcp4.1-esv:r13
isc:dhcp4.1-esv:r13_b1
isc:dhcp4.1-esv:r13b1
isc:dhcp4.1-esv:r14
isc:dhcp4.1-esv:r14_b1
isc:dhcp4.1-esv:r14b1
isc:dhcp4.1-esv:r15
isc:dhcp4.1-esv:r15-p1
isc:dhcp4.1-esv:r15_b1
isc:dhcp4.1-esv:r16
isc:dhcp4.1-esv:r16-p1
debian:debian_linux10.0
fedoraproject:fedora35
fedoraproject:fedora36
fedoraproject:fedora37

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10isc-dhcp4.4.1-2+deb10u2DLA-3146-1
Debian11isc-dhcp4.4.1-2.3+deb11u1DSA-5251-1
Debian12, 13isc-dhcp4.4.3-2.1DEBIAN-CVE-2022-2928
Ubuntu18.04:LTSisc-dhcp4.3.5-3ubuntu7.4UBUNTU-CVE-2022-2928 USN-5658-1
Ubuntu20.04:LTSisc-dhcp4.4.1-2.1ubuntu5.20.04.4UBUNTU-CVE-2022-2928 USN-5658-1
Ubuntu22.04:LTSisc-dhcp4.4.1-2.3ubuntu2.3UBUNTU-CVE-2022-2928 USN-5658-1
UbuntuPro:14.04:LTSisc-dhcp4.2.4-7ubuntu12.13+esm2UBUNTU-CVE-2022-2928 USN-5658-3
UbuntuPro:16.04:LTSisc-dhcp4.3.3-5ubuntu12.10+esm2UBUNTU-CVE-2022-2928 USN-5658-2
Red Hatenterprise_linux:8::baseosdhcp, dhcp-libs, dhcp-relay and 9 more12:4.3.6-49.el8RHSA-2023:3000
Red Hatenterprise_linux:9::baseosdhcp, dhcp-relay, dhcp-client and 7 more12:4.4.2-18.b1.el9RHSA-2023:2502
SUSELinux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Server Applications 15 SP3 and 1 moredhcp4.3.6.P1-150000.6.17.1SUSE-SU-2022:3991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5dhcp4.3.3-10.28.1SUSE-SU-2022:3992-1
openSUSELeap 15.3, Leap 15.4dhcp4.3.6.P1-150000.6.17.1SUSE-SU-2022:3991-1
openSUSETumbleweeddhcp4.4.2.P1-11.1openSUSE-SU-2024:12390-1
AlmaLinux8dhcp-libs, dhcp-relay, dhcp-client and 2 more12:4.3.6-49.el8ALSA-2023:3000
AlmaLinux9dhcp-relay, dhcp-client, dhcp-common and 1 more12:4.4.2-18.b1.el9ALSA-2023:2502
Alpinev3.13, v3.14, v3.15 and 5 moredhcp4.4.3_p1-r0ALPINE-CVE-2022-2928

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Vulnerable servers are network accessible to an attacker and configured to allow and process lease queries.

Internally, reference counters are integers and thus overflow at 2^31 references, so even at 1000 lease query responses per second, it would take more than three weeks to crash the server.

Red Hat's mitigation

Possible workaround - Disable lease query on the server for DHCPv4 or restart the server periodically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8dhcp-12:4.3.6-49.el8Fixed 2023-05-16RHSA-2023:3000
Red Hat Enterprise Linux 9dhcp-12:4.4.2-18.b1.el9Fixed 2023-05-09RHSA-2023:2502
Red Hat Enterprise Linux 6dhcpOut of support scope
Red Hat Enterprise Linux 7dhcpOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-2928.

References

Check your stackJSON