[UCI-Linux] bugzilla@redhat.com: [RHSA-2002:081-06] perl-Digest-MD5 UTF8 bug results in incorrect MD5 sums

Fri, 10 May 2002 16:20:05 -0700

A RH 7.3 bug!

------- Forwarded Message

Received: from outgoing.securityfocus.com (outgoing3.securityfocus.com [])
	by draco.acs.uci.edu (8.11.6/8.11.6) with ESMTP id g4ANIJS17084
	for <iglesias@draco.acs.uci.edu>; Fri, 10 May 2002 16:18:20 -0700
Received: from lists.securityfocus.com (lists.securityfocus.com [])
	by outgoing.securityfocus.com (Postfix) with QMQP
	id A185DA3101; Fri, 10 May 2002 16:57:41 -0600 (MDT)
Mailing-List: contact bugtraq-help@securityfocus.com; run by ezmlm
Precedence: bulk
List-Id: <bugtraq.list-id.securityfocus.com>
List-Post: <mailto:bugtraq@securityfocus.com>
List-Help: <mailto:bugtraq-help@securityfocus.com>
List-Unsubscribe: <mailto:bugtraq-unsubscribe@securityfocus.com>
List-Subscribe: <mailto:bugtraq-subscribe@securityfocus.com>
Delivered-To: mailing list bugtraq@securityfocus.com
Delivered-To: moderator for bugtraq@securityfocus.com
Received: (qmail 11133 invoked from network); 10 May 2002 17:30:17 -0000
Message-Id: <200205101733.g4AHXEx17599@porkchop.devel.redhat.com>
Mime-version: 1.0
Content-type: text/plain; charset="iso-8859-1"
Subject: [RHSA-2002:081-06] perl-Digest-MD5 UTF8 bug results in incorrect MD5 sums
From: bugzilla@redhat.com
Date: Fri, 10 May 2002 13:33 -0400
To: redhat-watch-list@redhat.com
Cc: bugtraq@securityfocus.com, linux-security@redhat.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by draco.acs.uci.edu id g4ANIJS17084

- ---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          perl-Digest-MD5 UTF8 bug results in incorrect MD5 sums
Advisory ID:       RHSA-2002:081-06
Issue date:        2002-05-06
Updated on:        2002-05-10
Product:           Red Hat Linux
Cross references:  
- ---------------------------------------------------------------------

1. Topic:

Updated perl-Digest-MD5 packages are available which work around a bug in
the utf8 interaction between perl-Digest-MD5 and Perl.

2. Relevant releases/architectures:

Red Hat Linux 7.3 - i386

3. Problem description:

A bug in utf8 interaction between perl-Digest-MD5 and Perl results in utf8
strings having improper MD5 digests.  This update works around the problem
and provides correct checksums for all input.

To determine if a machine is vulnerable, run the following command at a
shell prompt:

perl -le 'use Digest::MD5 qw/md5_hex/; $s = "test\x{101}"; chop $s; print
(md5_hex($s) eq md5_hex("test") ? "ok" : "not ok")'

If the output is any message other than "ok" then an upgrade is
recommended.  All 7.3 systems are vulnerable; no earlier versions should
have this issue.

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


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



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
19f256d961bdd48a3986b113d48aa07e 7.3/en/os/SRPMS/perl-Digest-MD5-2.20-1.src.rpm
eadfe2a31835a906d895752f61fb533e 7.3/en/os/i386/perl-Digest-MD5-2.20-1.i386.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, 2002 Red Hat, Inc.

------- End of Forwarded Message