Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181373 - net-dns/c-ares < 1.4.0 has predictable DNS transaction IDs
Summary: net-dns/c-ares < 1.4.0 has predictable DNS transaction IDs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Security
URL: http://cool.haxx.se/cvs.cgi/curl/ares...
Whiteboard: B4? [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-09 02:49 UTC by Daniel Black (RETIRED)
Modified: 2007-07-14 21:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Black (RETIRED) gentoo-dev 2007-06-09 02:49:06 UTC
.. and therefore susceptible to DNS poisoning

As per ref URL on May 30 2007 entry

Affected packages (partial) that use this library are listed here https://bugs.gentoo.org/show_bug.cgi?id=140068#c1

Fixed in 1.4.0
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2007-06-09 08:39:59 UTC
ppc64 stable
Comment 2 Markus Meier gentoo-dev 2007-06-09 11:16:56 UTC
net-dns/c-ares-1.4.0
1. emerges on x86
2. passes collision test
3. net-misc/curl-7.15.1-r1 USE="ares" emerges with it

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20.12 i686)
=================================================================
System uname: 2.6.20.12 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 09 Jun 2007 09:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LINGUAS="en de en_GB de_CH"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 asf avahi berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus divx dri dts dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdeenablefinal kerberos ldap libg++ mad midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection rtsp ruby samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd test tetex theora threads tiff truetype truetype-fonts type1-fonts unicode vcd vorbis wifi win32codecs wxwindows x264 x86 xine xml xorg xprint xv xvid zlib" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en de en_GB de_CH" USERLAND="GNU" VIDEO_CARDS="i810 fbdev vesa"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2007-06-09 12:05:35 UTC
amd64 done
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2007-06-09 13:23:11 UTC
alpha/ia64/x86 stable, thanks Markus.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2007-06-09 13:39:40 UTC
Stable for HPPA.
Comment 6 Tobias Scherbaum (RETIRED) gentoo-dev 2007-06-09 14:20:03 UTC
ppc stable
Comment 7 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2007-06-09 20:51:33 UTC
I vote noglsa. Hard to exploit (needs other events). Not critical.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2007-06-09 21:53:25 UTC
(In reply to comment #2)
> net-dns/c-ares-1.4.0
> 1. emerges on x86
> 2. passes collision test
> 3. net-misc/curl-7.15.1-r1 USE="ares" emerges with it

Good test. I should of mentioned it. This was the test I did on amd64. Small thing is you need USE=-ipv6 for USE=ares to have an effect.
Comment 9 Daniel Black (RETIRED) gentoo-dev 2007-06-09 22:37:30 UTC
voting no too. The least significant 32bits of the nanosecond time should be hard to get even on the same shared machine. Predicting the next dns query after answering the previous one is probably hard (unless its to the same location where it doesn't matter).
Comment 10 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-06-10 07:55:49 UTC
Voting NO too.

Sparc please test and mark stable.
Comment 11 Gustavo Zacarias (RETIRED) gentoo-dev 2007-06-11 14:18:42 UTC
sparc stable.
Comment 12 Pierre-Yves Rofes (RETIRED) gentoo-dev 2007-07-14 21:20:51 UTC
voting no too, and closing.