[ GLSA 202210-26 ] Shadow: TOCTOU Race

[email protected]
Newsgroups gmane.linux.gentoo.announce
Message-ID <166717933690.9.8955650146354813976@90bb6a0775af>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202210-26
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: Shadow: TOCTOU Race
     Date: October 31, 2022
     Bugs: #830486
       ID: 202210-26

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A TOCTOU race has been discovered in Shadow, which could result in the
unauthorized modification of files.

Background
==========

Shadow contains utilities to deal with user accounts

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  sys-apps/shadow            < 4.12.2                    >= 4.12.2

Description
===========

A TOCTOU race condition was discovered in shadow. A local attacker with
write privileges in a directory removed or copied by usermod/userdel
could potentially exploit this flaw when the administrator invokes
usermod/userdel.

Impact
======

An unauthorized user could potentially modify files which they do not
have write permissions for.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Shadow users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=sys-apps/shadow-4.12.2"

References
==========

[ 1 ] CVE-2013-4235
      https://nvd.nist.gov/vuln/detail/CVE-2013-4235

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202210-26

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2022 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmNfI0gACgkQFMQkOaVy
+9npmQ//ftzvX1Kk8MombEuiILcBlVH0xOapcshRnmL4gbeoJaWF8e2aoQvGcOVq
qjYWgjMkVoOEmQV/e6NMsK7K36Nwc7qbqEVT9DrrwdWgML7Rd39G+oSbU2yDhXs/
ZMOmCxFxjrVexaHO94RZdtu+BZQw4kyLBOq9vNR5UhqU7Xu/dwYCiw/U2khfW2iW
oultuRYGAEef7FPx66ukkay5E0NLDXvcM7cd3viAPr5g36h7C/bFdFQOIjblxwSI
y5i1bxHcrIbfU20YsevM2KMcWTJnU7XGAetheqGlwern0LfXnBodRbPUSs+Bs+M8
EseVMB8A/R9M3kliu2keOBKVoD6NMMrKKSQLAFtz0GMTks9ruLFgWpYSroJuockY
okq0xm/aY5mneAV1Iut4xOmVFJRVq8AfQpltnImLElXRK+1m8SdKVtC13mXvqNg8
9ktFrajHMplHVAYxVQtvcVX8khE9LhpU3zLd3QL4/IQvxlaCZtcqjHn6UKikvhLk
b72NXiwZ3s6Gv7kW0BFyz3Wmql96zkAhE5aLLcrBttEV7JSPU92qme0Cqd1acA/W
oCw6+dqhhogalq1njuxFiojI32r5B2C6IP7fDzLEkpBvQEUPHGexx1kFCL41RexV
fJt9GsZMTk/fxaTbwyHOb+Y25XAtPYsqaivNIw5Gk/RnfTHEXdE=
=73j7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.