Red Hat Security Advisory: remote exploit possible in lpd

Subject: [RHSA-2001:147-09] remote exploit possible in lpd
From: bugzilla@redhat.com
Date: Thu, 8 Nov 2001 19:14 -0500

                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          remote exploit possible in lpd
Advisory ID:       RHSA-2001:147-09
Issue date:        2001-11-01
Updated on:        2001-11-08
Product:           Red Hat Linux
Keywords:          lpr lpd buffer overflow
Cross references:  

1. Topic:

The lpd printing daemon provided by the lpr package posses a remotely
exploitable hole.

2. Relevant releases/architectures:

Red Hat Linux 6.2 - alpha, i386, sparc

3. Problem description:

The lpd printing daemon possess a flaw in the displayq code which makes a
remote buffer overflow attack possible.

[UPDATE November 7th, 2001]
The initial package released as a fix for this problem itself had a
segfault issue, and would crash when listing remote printers. The broken
package, lpr-0.50.1-1, has been replaced with a working fix.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory only contains
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:


This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

6. RPMs required:

Red Hat Linux 6.2:





7. Verification:

MD5 sum                          Package Name
084ffb7aad218ce6bba390de33218ad8 6.2/en/os/SRPMS/lpr-0.50.5-1.src.rpm
19111f0738ddeac4f9ed29c59b3c3656 6.2/en/os/alpha/lpr-0.50.5-1.alpha.rpm
c1f8f77d761223d42ee90367a716aa8e 6.2/en/os/i386/lpr-0.50.5-1.i386.rpm
be898ec1250c4a3f5d06da6e12c62176 6.2/en/os/sparc/lpr-0.50.5-1.sparc.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:

Copyright(c) 2000, 2001 Red Hat, Inc.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis