Skip to navigation

Security Advisory Updated zlib packages fix gzprintf buffer overflow vulnerability

Advisory: RHSA-2003:079-10
Type: Security Advisory
Severity: N/A
Issued on: 2003-04-29
Last updated on: 2003-04-29
Affected Products: Red Hat Linux 7.1
Red Hat Linux 7.2
Red Hat Linux 7.3
Red Hat Linux 8.0
CVEs (cve.mitre.org): CVE-2003-0107

Details

Updated zlib packages are now available which fix a buffer overflow
vulnerability.

Zlib is a general-purpose, patent-free, lossless data compression
library used by many different programs.

The function gzprintf within zlib, when called with a string longer than
Z_PRINTF_BUFZISE (= 4096 bytes), can overflow without giving a warning.

zlib-1.1.4 and earlier exhibit this behavior. There are no known exploits
of the gzprintf overrun, and only a few programs, including rpm2html
and gimp-print, are known to use the gzprintf function.

The problem has been fixed by checking the length of the output string
within gzprintf.


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 the
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:

up2date

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

Updated packages

Red Hat Linux 7.1

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/zlib/1.1.4-8.7x/SRPMS/zlib-1.1.4-8.7x.src.rpm
Missing file
    MD5: 2a540854e1b366583f46f2cb9d12d76a
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/zlib/1.1.4-8.7x/i386/zlib-1.1.4-8.7x.i386.rpm
Missing file
    MD5: c364711c074bbb9c6fb9c81d5c183c04
ftp://updates.redhat.com/rhn/repository/NULL/zlib-devel/1.1.4-8.7x/i386/zlib-devel-1.1.4-8.7x.i386.rpm
Missing file
    MD5: aeb4221c4d816c8d750f993051c4e9da
 
Red Hat Linux 7.2

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/zlib/1.1.4-8.7x/SRPMS/zlib-1.1.4-8.7x.src.rpm
Missing file
    MD5: 2a540854e1b366583f46f2cb9d12d76a
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/zlib/1.1.4-8.7x/i386/zlib-1.1.4-8.7x.i386.rpm
Missing file
    MD5: c364711c074bbb9c6fb9c81d5c183c04
ftp://updates.redhat.com/rhn/repository/NULL/zlib-devel/1.1.4-8.7x/i386/zlib-devel-1.1.4-8.7x.i386.rpm
Missing file
    MD5: aeb4221c4d816c8d750f993051c4e9da
 
IA-64:
ftp://updates.redhat.com/rhn/repository/NULL/zlib/1.1.4-8.7x/ia64/zlib-1.1.4-8.7x.ia64.rpm
Missing file
    MD5: 654a4dd09a48b3524ddd3b721e6407c2
ftp://updates.redhat.com/rhn/repository/NULL/zlib-devel/1.1.4-8.7x/ia64/zlib-devel-1.1.4-8.7x.ia64.rpm
Missing file
    MD5: bd9506cf823b2888459844d3e4998be7
 
Red Hat Linux 7.3

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/zlib/1.1.4-8.7x/SRPMS/zlib-1.1.4-8.7x.src.rpm
Missing file
    MD5: 2a540854e1b366583f46f2cb9d12d76a
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/zlib/1.1.4-8.7x/i386/zlib-1.1.4-8.7x.i386.rpm
Missing file
    MD5: c364711c074bbb9c6fb9c81d5c183c04
ftp://updates.redhat.com/rhn/repository/NULL/zlib-devel/1.1.4-8.7x/i386/zlib-devel-1.1.4-8.7x.i386.rpm
Missing file
    MD5: aeb4221c4d816c8d750f993051c4e9da
 
Red Hat Linux 8.0

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/zlib/1.1.4-8.8x/SRPMS/zlib-1.1.4-8.8x.src.rpm
Missing file
    MD5: fe4170379794e81a2609fa7e71310588
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/zlib/1.1.4-8.8x/i386/zlib-1.1.4-8.8x.i386.rpm
Missing file
    MD5: fb1db2a01b5366cb40f98fda4507024e
ftp://updates.redhat.com/rhn/repository/NULL/zlib-devel/1.1.4-8.8x/i386/zlib-devel-1.1.4-8.8x.i386.rpm
Missing file
    MD5: 9b4caed6d7487dbd65897b4932403dc7
 

Bugs fixed (see bugzilla for more information)

84961 - buffer overrun on gzprintf


References


Keywords

buffer, gzprintf, overflow


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/