An option refcount overflow exists in dhcpd (ISC ISC DHCP)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.71 % · percentile 54 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- isc
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-476 — NULL Pointer Dereference
References
- https://kb.isc.org/docs/cve-2022-2928
- https://lists.debian.org/debian-lts-announce/2022/10/msg00015.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QQXYCIWUDILRCNBAIMVFCSGXBRKEPB4K/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T6IBFH4MRRNJQVWEKILQ6I6CXWW766FX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SARIK7KZ7MGQIWDRWZFAOSQSPXY4GOU/
- https://security.gentoo.org/glsa/202305-22
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | isc |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · security-officer@isc.org (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Secondary) |
European references
- ENISA EUVD · EUVD-2022-35151
- GCVE · GCVE-0-2022-2928
CERT-FR advisories
- CERTFR-2025-AVI-0969 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
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:r14b1:*:*:*:*:*:*cpe:2.3:a:isc:dhcp:4.1-esv:r15:*:*:*:*:*:*cpe:2.3:a:isc:dhcp:4.1-esv:r15-p1:*:*:*:*:*:*cpe:2.3:a:isc:dhcp:4.1-esv:r15_b1:*:*:*:*:*:*cpe:2.3:a:isc:dhcp:4.1-esv:r16:*:*:*:*:*:*cpe:2.3:a:isc:dhcp:4.1-esv:r16-p1:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| ISC · ISC DHCP | affected 4.4.0 through versions before 4.4.3-P1 ; affected 4.1 ESV 4.1-ESV-R1 through versions before 4.1-ESV-R16-P1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |