Red Hat 9062 Published by

A less security update is available for Red Hat Linux 9

---------------------------------------------------------------------
Fedora Legacy Update Advisory

Synopsis: Updated less package fixes security issue
Advisory ID: FLSA:2404
Issue date: 2005-03-07
Product: Red Hat Linux
Keywords: Bugfix
Cross references: https://bugzilla.fedora.us/show_bug.cgi?id=2404
CVE Names: CAN-2005-0086
---------------------------------------------------------------------


---------------------------------------------------------------------
1. Topic:

An updated less package that fixes segmentation fault when viewing binary files is now available.

The less utility is a text file browser that resembles more, but has extended capabilities.

2. Relevant releases/architectures:

Red Hat Linux 9 - i386



3. Problem description:

Victor Ashik discovered a heap based buffer overflow in less, caused by a patch added to the less package in Red Hat Linux 9. An attacker could construct a carefully crafted file that could cause less to crash or possibly execute arbitrary code when opened. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2005-0086 to this issue.

All users of the less package should upgrade to this updated package, which resolves 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 yum and apt. Many people find this an easier way to apply updates. To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. This assumes that you have yum or apt-get configured for obtaining Fedora Legacy content. Please visit http://www.fedoralegacy.org/docs for directions on how to configure yum and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - bug #2404 - less segfault

6. RPMs required:

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/less-378-7.2.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/less-378-7.2.legacy.i386.rpm

7. Verification:

SHA1 sum Package Name
---------------------------------------------------------------------

08f54de18179fdaf849cd26d0497531426fd9cc6
redhat/9/updates/i386/less-378-7.2.legacy.i386.rpm
58ccb5a8cdb72c2a64cd8b41ba8984f2df906a18
redhat/9/updates/SRPMS/less-378-7.2.legacy.src.rpm

These packages are GPG signed by Fedora Legacy for security. Our key is available from http://www.fedoralegacy.org/about/security.php

You can verify each package with the following command:

rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or tampered with, examine only the sha1sum with the following command:

sha1sum <filename>

8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0086

9. Contact:

The Fedora Legacy security contact is <secnotice@fedoralegacy.org>. More
project details at http://www.fedoralegacy.org