Skip to navigation

Security Advisory New util-linux packages available to fix vipw permissions problems

Advisory: RHSA-2001:095-04
Type: Security Advisory
Severity: N/A
Issued on: 2001-07-12
Last updated on: 2001-07-16
Affected Products: Red Hat Linux 7.1
CVEs (cve.mitre.org): CVE-2001-1175

Details

New util-linux packages are available for Red Hat Linux 7.1. These packages
fix a problem where vipw would leave the /etc/shadow file world-readable
after editing it.

It is recommended that all users update to the fixed packages. Also, if you
have used vipw on Red Hat Linux 7.1 before, make sure to run (as root):

chmod 0400 /etc/shadow

vipw, from the util-linux package in Red Hat Linux 7.1, included a new
option that allowed editing of the /etc/shadow file as well as /etc/passwd.
However, this option did not take measures to ensure that the file remained
only readable by root.

Thanks go to lloyd@acm.jhu.edu for bringing the problem to our attention.


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.

Also note that users of vipw may want to run (as root):

chmod 0400 /etc/shadow

to ensure that the file has the correct permissions.

Updated packages

Red Hat Linux 7.1

SRPMS:
util-linux-2.10s-13.7.src.rpm
File outdated by:  RHSA-2002:132
    MD5: 96997395f6773109c6fe12f015145a4e
 
Alpha:
util-linux-2.10s-13.7.alpha.rpm
File outdated by:  RHSA-2002:132
    MD5: 148ed6ee554cec8552a9795192deaa51
 
IA-32:
util-linux-2.10s-13.7.i386.rpm
File outdated by:  RHSA-2002:132
    MD5: 06f71eb2fd286d18ea45430ffe790b63
 
IA-64:
util-linux-2.10s-13.7.ia64.rpm
File outdated by:  RHSA-2002:132
    MD5: dceed158e6eb988b972f924a01fdc265
 

References


Keywords

permissions


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/