Integer Overflow or Wraparound Affecting dhcp-libs package, versions <12:4.3.6-49.el8
Snyk CVSS
Threat Intelligence
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 ID SNYK-CENTOS8-DHCPLIBS-3040591
- published 6 Oct 2022
- disclosed 5 Oct 2022
Introduced: 5 Oct 2022
CVE-2022-2928 Open this link in a new tabHow to fix?
Upgrade Centos:8
dhcp-libs
to version 12:4.3.6-49.el8 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream dhcp-libs
package and not the dhcp-libs
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2022-2928
- https://kb.isc.org/docs/cve-2022-2928
- https://www.cve.org/CVERecord?id=CVE-2022-2928
- https://lists.debian.org/debian-lts-announce/2022/10/msg00015.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QQXYCIWUDILRCNBAIMVFCSGXBRKEPB4K/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T6IBFH4MRRNJQVWEKILQ6I6CXWW766FX/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2SARIK7KZ7MGQIWDRWZFAOSQSPXY4GOU/
- https://security.gentoo.org/glsa/202305-22
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2SARIK7KZ7MGQIWDRWZFAOSQSPXY4GOU/
- 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/