Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99520 - net-dns/dnrd: Buffer and stack overflows
Summary: net-dns/dnrd: Buffer and stack overflows
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Security
URL:
Whiteboard: ~1 [noglsa] jaervosz
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 06:25 UTC by Thierry Carrez (RETIRED)
Modified: 2005-07-21 08:15 UTC (History)
3 users (show)

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


Attachments
dnrd-2.19.1.ebuild (dnrd-2.19.1.ebuild,830 bytes, text/plain)
2005-07-19 06:44 UTC, Natanael Copa
no flags Details
files/dnrd (dnrd,476 bytes, text/plain)
2005-07-19 06:49 UTC, Natanael Copa
no flags Details
dnrd-2.19.1.tar.gz (dnrd-2.19.1.tar.gz,153.99 KB, application/octet-stream)
2005-07-19 14:57 UTC, Natanael Copa
no flags Details
dnrd-2.19.1.ebuild (dnrd-2.19.1.ebuild,833 bytes, text/plain)
2005-07-20 23:25 UTC, Chris White (RETIRED)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Carrez (RETIRED) gentoo-dev 2005-07-19 06:25:31 UTC
Nathanael Copa, the DNRD maintainer, warned me about two overflows in DNRD <=
2.19, a package that is ~ in Gentoo Portage.

Impact: remote code execution (with non-root rights in a chroot).
This won't result in any GLSA as the package is ~.

Natanael will provide us advance access to the new release tarballs and maybe an
updated ebuild.

I'll ask for CAN numbers from MITRE. When I get them, we'll forward this to
vendor-sec for coordinated disclosure, in case any of the v-s members ships it.
Comment 1 Natanael Copa 2005-07-19 06:38:24 UTC
(In reply to comment #0)

> I'll ask for CAN numbers from MITRE. When I get them, we'll forward this to
> vendor-sec for coordinated disclosure, in case any of the v-s members ships it.

I have the tarball ready, but I'd like to include the CAN number in the ChangeLog. 

I will wait with posting the updated tarball so I a can include the CAN number
there - unless you would like to have the tarball now.

Thanks!
Comment 2 Natanael Copa 2005-07-19 06:44:52 UTC
Created attachment 63776 [details]
dnrd-2.19.1.ebuild

I can upload the ebuild while waiting for the CAN number and tarball.
Comment 3 Natanael Copa 2005-07-19 06:49:44 UTC
Created attachment 63777 [details]
files/dnrd

The /etc/init.d/dnrd script for the dnrd-2.19.1 ebuild.

(It's the same as https://bugs.gentoo.org/attachment.cgi?id=63368 from #83281)

I posted this since this bug should close #83281.
Comment 4 Thierry Carrez (RETIRED) gentoo-dev 2005-07-19 08:11:35 UTC
I asked the CAN numbers to MITRE.

Natanael: since the package is ~ we won't do much preparation until this is
public. So once you get the CAN numbers you can decide for a release date that I
will communicate to vendor-sec (like +48 hours).

Ccing our dnrd maintainer so that he knows about the problem.
btw chris, you can readd yourself to the metadata.xml :)
Comment 5 Thierry Carrez (RETIRED) gentoo-dev 2005-07-19 13:24:38 UTC
Use CAN-2005-2315 for the buffer overflow.
Use CAN-2005-2316 for the infinite recursion.

Natanael: are you OK with Thursday, July 21, 1400 UTC for public release ? I'll
forward the issue to vendor-sec (with you in cc:) if that date is OK with you.
Comment 6 Natanael Copa 2005-07-19 14:46:59 UTC
Thursday 21 July 1200 UTC would give me 3 hours instead of 1 before I leave
work, just in case.

If that causes any problem for you (or for anyone else) 1400 UTC is just fine.

Thank you very much for you help.
Comment 7 Natanael Copa 2005-07-19 14:57:35 UTC
Created attachment 63816 [details]
dnrd-2.19.1.tar.gz

This is the tarball that will be officially distributed so you have a chance to
test it before the official disclosure.
Comment 8 Thierry Carrez (RETIRED) gentoo-dev 2005-07-20 02:54:03 UTC
v-s has been warned.
Embargo set to Thursday 21 July 1200 UTC
Comment 9 Chris White (RETIRED) gentoo-dev 2005-07-20 18:26:52 UTC
The ebuild is ready.  I'm ready to commit whenever anyone wants to give the 
heads up.  Stable x86 is ready on that as well. 
Comment 10 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-20 22:20:57 UTC
No need for stable x86, seems to only have been ~. If you want ppc to test for  
the ~ppc flag please attach the updated ebuild to this bug. Otherwise we'll 
wait a few hours with the commit. 
Comment 11 Chris White (RETIRED) gentoo-dev 2005-07-20 23:25:10 UTC
Created attachment 63948 [details]
dnrd-2.19.1.ebuild

The ebuild
Comment 12 Chris White (RETIRED) gentoo-dev 2005-07-20 23:25:59 UTC
Anarchy has volunteered to handle the ~ppc marking, as my pegasos is pretty 
outdated...  I'll keep it ~x86 for the time being. 
Comment 13 Jory A. Pratt 2005-07-20 23:34:08 UTC
~ppc is good to go.
Comment 14 Natanael Copa 2005-07-21 05:28:16 UTC
dnrd-2.19.1 is officially released and can be committed to portage.

It could be an idea to mask <net-dns/2.19.1 also.

Thanks everyone!
Comment 15 Natanael Copa 2005-07-21 05:34:49 UTC
(In reply to comment #14)

> It could be an idea to mask <net-dns/2.19.1 also.

I ment <net-dns/dnrd-2.19.1 of course.

Comment 16 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-21 05:43:58 UTC
This is now public -> opening.  
  
Thx Natanael. 
 
ChrisW please do the magic. 
   
   
Comment 17 Chris White (RETIRED) gentoo-dev 2005-07-21 08:13:27 UTC
Updated, removed older versions, saved the whales, etc. 
Comment 18 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-21 08:15:08 UTC
ChrisW et al++  
  
Since this is ~ -> closing with NO GLSA.