Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325605 (CVE-2010-2156) - <net-misc/dhcp-4.1.1-p1: DOS (CVE-2010-2156)
Summary: <net-misc/dhcp-4.1.1-p1: DOS (CVE-2010-2156)
Status: RESOLVED FIXED
Alias: CVE-2010-2156
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Security
URL: http://ftp.isc.org/isc/dhcp/dhcp-4.1....
Whiteboard: ~3 [ebuild]
Keywords:
Depends on: 324671
Blocks:
  Show dependency tree
 
Reported: 2010-06-25 21:18 UTC by Stefan Behte (RETIRED)
Modified: 2011-03-05 23:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
corrected dhcp-4.0-dhclient-resolvconf.patch (dhcp-4.0-dhclient-resolvconf.patch,14.18 KB, patch)
2010-06-29 17:27 UTC, Petr Morávek
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Behte (RETIRED) gentoo-dev Security 2010-06-25 21:18:57 UTC
CVE-2010-2156 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2156):
  ISC DHCP 4.1 before 4.1.1-P1 and 4.0 before 4.0.2-P1 allows remote
  attackers to cause a denial of service (server exit) via a
  zero-length client ID.
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2010-06-25 21:20:25 UTC
Note: 4.1.x is hardmasked.
Comment 2 Tobias Heinlein (RETIRED) gentoo-dev 2010-06-26 11:54:14 UTC
base-system, please commit updated ebuilds and remove the vulnerable versions.
Comment 3 Petr Morávek 2010-06-29 17:05:50 UTC
There is ebuild on http://code.google.com/p/barzog-gentoo-overlay/ that seems to be working for me on amd64 (at least the client part)... with one exception: there is typo in dhcp-4.0-dhclient-resolvconf.patch taken from portage tree, here is a fix:


--- /usr/portage/net-misc/dhcp/files/dhcp-4.0-dhclient-resolvconf.patch 2008-09-04 14:39:45.000000000 +0200
+++ /usr/local/portage/net-misc/dhcp/files/dhcp-4.0-dhclient-resolvconf.patch   2010-06-29 18:57:12.000000000 +0200
@@ -5,7 +5,7 @@
  #!/bin/sh

  make_resolv_conf() {
-+  if [ x"$PEER_DNS" != x ] && [ x$"PEER_DNS" != xyes ]; then
++  if [ x"$PEER_DNS" != x ] && [ x"$PEER_DNS" != xyes ]; then
 +    return 0
 +  fi
 +  local conf=
Comment 4 Petr Morávek 2010-06-29 17:27:26 UTC
Created attachment 236939 [details, diff]
corrected dhcp-4.0-dhclient-resolvconf.patch

Sorry, the typo mentioned above is in the patch multiple times... attaching corrected patch.
Comment 5 SpanKY gentoo-dev 2011-03-05 23:56:13 UTC
dhcp-4.2.1 now in the tree and all other dhcp-4.x ebuilds punted.  since this is still masked, i'll close out the bug.