CVE-2022-2928
An option refcount overflow exists in dhcpd
Reported by isc · Published October 7, 2022
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ISC | ISC DHCP | 4.4.0 through versions before 4.4.3-P1, 4.1 ESV 4.1-ESV-R1 through versions before 4.1-ESV-R16-P1 |
| ISC | ISC DHCP | 4.1, 4.4.0 |
| amazon:2 | dhcp | 0 |
| alpine | dhcp | 0 |
| amazon:2 | dhcp-devel | 0 |
| amazon:2 | dhclient | 0 |
| amazon:2 | dhcp-libs | 0 |
| amazon:2 | dhcp-common | 0 |
Timeline
- Oct 5, 2022 CVE Published
- Oct 7, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (6 in total, the first dated here)
- Jun 27, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-2928
vulnetix vdb fixes CVE-2022-2928
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-2928/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20221010 [SECURITY] [DLA 3146-1] isc-dhcp security update mailing-list
- FEDORA-2022-f5a45757df vendor-advisory
- FEDORA-2022-9ca9a94e28 vendor-advisory
- FEDORA-2022-c4f274a54f vendor-advisory
- GLSA-202305-22 vendor-advisory