-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                   ESB-2006.0238 -- [UNIX/Linux][Debian]
              New flex packages fix insecure code generation
                               28 March 2006

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           flex
Publisher:         Debian
Operating System:  Debian GNU/Linux 3.1
                   UNIX variants (UNIX, Linux, OSX)
Impact:            Execute Arbitrary Code/Commands
                   Denial of Service
Access:            Existing Account
CVE Names:         CVE-2006-0459

Original Bulletin: http://www.debian.org/security/2006/dsa-1020

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 1020-1                    security@debian.org
http://www.debian.org/security/                         Moritz Muehlenhoff
March 28th, 2006                        http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : flex
Vulnerability  : buffer overflow
Problem-Type   : local
Debian-specific: no
CVE ID         : CVE-2006-0459

Chris Moore discovered that flex, a scanner generator, generates code,
which allocates insufficient memory, if the grammar contains REJECT
statements or trailing context rules. This may lead to a buffer overflow
and the execution of arbitrary code.

If you use code, which is derived from a vulnerable lex grammar in
an untrusted environment you need to regenerate your scanner with the
fixed version of flex.

The old stable distribution (woody) is not affected by this problem.

For the stable distribution (sarge) this problem has been fixed in
version 2.5.31-31sarge1.

For the unstable distribution (sid) this problem has been fixed in
version 2.5.33-1.

We recommend that you upgrade your flex package.


Upgrade Instructions
- - --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.1 alias sarge
- - --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1.dsc
      Size/MD5 checksum:      658 c8b6a0ea37517968898791efb5a7b4e6
    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1.diff.gz
      Size/MD5 checksum:   232063 06e7055de06929ee8333c98cb83e060a
    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31.orig.tar.gz
      Size/MD5 checksum:   854802 7c81a69800245bae33070c46b4e3ab61

  Architecture independent components:

    http://security.debian.org/pool/updates/main/f/flex/flex-doc_2.5.31-31sarge1_all.deb
      Size/MD5 checksum:   141472 61b73b16eee05b2726b69389702816c8

  Alpha architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_alpha.deb
      Size/MD5 checksum:   277052 dc2ffe52ee80557c37f106694394013e

  AMD64 architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_amd64.deb
      Size/MD5 checksum:   269466 8f1dbdf97472966b6ccd0e2f48155315

  ARM architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_arm.deb
      Size/MD5 checksum:   265434 b6b385e746d090ead980d2d5b00ce660

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_i386.deb
      Size/MD5 checksum:   257982 2042d8b6d1e44afecc6ef482ebd7ed5b

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_ia64.deb
      Size/MD5 checksum:   373648 cf4a355a392906d35b4c6517b1af4da3

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_hppa.deb
      Size/MD5 checksum:   269346 33d0851b9b55a8a5ca02662e7eabc4b5

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_m68k.deb
      Size/MD5 checksum:   249344 90d10c0c21d102a2c884f7f255324e6a

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_mips.deb
      Size/MD5 checksum:   269530 16b2e02bdc974b5429c5bbca25c68257

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_mipsel.deb
      Size/MD5 checksum:   268294 b9ea1fbf8d7f90420a38d60d888419b5

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_powerpc.deb
      Size/MD5 checksum:   341390 5acfa6e366ba01bace247bf4f919c51b

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_s390.deb
      Size/MD5 checksum:   266372 7397af4c7d966de84e60503c7d1955a0

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/f/flex/flex_2.5.31-31sarge1_sparc.deb
      Size/MD5 checksum:   339300 74c5fff73315873fe893d84497ac308a


  These files will probably be moved into the stable distribution on
  its next update.

- - ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEKHJsXm3vHE4uyloRAvdrAJ97912+ERSbq85sbYfdEsN6JgmxKgCgz4Mc
fps1+E1UprWNA70un5dQv+8=
=6kLC
- -----END PGP SIGNATURE-----

- --------------------------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.

NOTE: Third Party Rights
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 follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

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 author's website 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:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

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 only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCUAwUBRCh7xCh9+71yA2DNAQLyOwP2OfjdacUgPmIypvZgL9TTZCRkTQzagDkC
plYpUrF2BaunbUqOkPue/4Hh2AqPVx3EVp+g7ePXkiGeG9TbPX0zu4oBnPy8EtVy
rru1p84KXVDJcu14ur2z5LTzPdPNqsVv3TDUygoozxhDEOu5zkWoETPn5ccFaOs/
bAsl/BrNsg==
=VbzA
-----END PGP SIGNATURE-----