AUSCERT External Security Bulletin Redistribution

                 ESB-2002.310 -- OpenBSD Security Advisory
                    buffer overflow in the DNS resolver
                               27 June 2002


        AusCERT Security Bulletin Summary

Product:                dns resolver
Vendor:                 OpenBSD
Operating System:       OpenBSD 2.8
                        OpenBSD 2.9
                        OpenBSD 3.0
                        OpenBSD 3.1
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote

Ref:                    ESB-2002.309

- --------------------------BEGIN INCLUDED TEXT--------------------

    A buffer overflow has been found in the BSD DNS resolver.

    It may be possible for an attacker with control over a DNS zone
    to cause a buffer overflow in applications doing standard DNS
    calls (gethostbyname(), gethostbyaddr(), etc).

    It is not known at this time whether or not such an overflow
    could be used to escalate privileges.  We suggest users assume
    the worst and patch their systems.

    The bug was found and fix a proposed by Joost Pol.
    The patches used were written by Jun-ichiro "itojun" Hagino.

The following patches are available:

OpenBSD 3.1:

OpenBSD 3.0:

OpenBSD 2.9:

The OpenBSD 2.9 patch also applies cleanly to OpenBSD 2.8.

The OpenBSD 3.1, 3.0 and 2.9 patch branches (aka OpenBSD-stable)
also contain the patch.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security

Internet Email: auscert@auscert.org.au
Facsimile:	(07) 3365 7031
Telephone:	(07) 3365 4417 (International: +61 7 3365 4417)
		AusCERT personnel answer during Queensland business hours
		which are GMT+10:00 (AEST).
		On call after hours for member emergencies.

Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key