Skip to navigation

Security Advisory shadow-utils security update

Advisory: RHSA-2003:058-04
Type: Security Advisory
Severity: Moderate
Issued on: 2003-02-25
Last updated on: 2003-02-13
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
CVEs (cve.mitre.org): CVE-2002-1509

Details

Updated shadow-utils packages are now available. These updated packages
correct a bug that caused the useradd tool to create mail spools with
incorrect permissions.

The shadow-utils package includes programs for converting UNIX password
files to the shadow password format, plus programs for managing user and
group accounts. One of these programs is useradd, which is used to create
or update new user information.

When creating a user account, the version of useradd included in Red Hat
packages creates a mail spool file with incorrectly-set group ownership.
Instead of setting the file's group ownership to the "mail" group, it is
set to the user's primary group.

On systems where other users share the same primary group, this would allow
those users to be able to read and write other user mailboxes.

These errata packages contain an updated patch to useradd. Where a mail
group exists, mailboxes will be created with group mail having read and
write permissions. Otherwise the mailbox will be created without group
read and write permissions.

All users are advised to upgrade to these updated packages and also to
check the /var/spool/mail directory to ensure that mailboxes have correct
permissions.


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 Enterprise Linux AS (v. 2.1)

SRPMS:
shadow-utils-20000902-9.7.src.rpm
File outdated by:  RHBA-2004:527
    MD5: 175d0d2e8a47c91a3746aca0054bc46b
 
IA-32:
shadow-utils-20000902-9.7.i386.rpm
File outdated by:  RHBA-2004:527
    MD5: f6d1854e5155dc933b01fd4b701edf2e
 
IA-64:
shadow-utils-20000902-9.7.ia64.rpm
File outdated by:  RHBA-2004:527
    MD5: 115bfb6de248ecf59a4a50d85c7cb43e
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
shadow-utils-20000902-9.7.src.rpm
File outdated by:  RHBA-2004:527
    MD5: 175d0d2e8a47c91a3746aca0054bc46b
 
IA-64:
shadow-utils-20000902-9.7.ia64.rpm
File outdated by:  RHBA-2004:527
    MD5: 115bfb6de248ecf59a4a50d85c7cb43e
 

Bugs fixed (see bugzilla for more information)

84191 - incorrect mailspool directories causes exposure


References


Keywords

mail, mailspool


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/