Skip to navigation

Security Advisory perl-Digest-MD5 UTF8 bug results in incorrect MD5 sums

Advisory: RHSA-2002:081-06
Type: Security Advisory
Severity: N/A
Issued on: 2002-05-06
Last updated on: 2002-05-10
Affected Products: Red Hat Linux 7.3
CVEs (cve.mitre.org): CVE-2002-0703

Details

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

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.


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

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/perl-Digest-MD5/2.20-1/SRPMS/perl-Digest-MD5-2.20-1.src.rpm
Missing file
    MD5: 19f256d961bdd48a3986b113d48aa07e
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/perl-Digest-MD5/2.20-1/i386/perl-Digest-MD5-2.20-1.i386.rpm
Missing file
    MD5: eadfe2a31835a906d895752f61fb533e
 

References



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/