From ca82b22f363882c75c7932c5a53e38ceb60b42e2 Mon Sep 17 00:00:00 2001 From: GLSAMaker Date: Mon, 31 Oct 2022 01:22:12 +0000 Subject: [PATCH] [ GLSA 202210-26 ] Shadow: TOCTOU Race Bug: https://bugs.gentoo.org/830486 Signed-off-by: GLSAMaker Signed-off-by: John Helmert III --- glsa-202210-26.xml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 glsa-202210-26.xml diff --git a/glsa-202210-26.xml b/glsa-202210-26.xml new file mode 100644 index 0000000000000..af8eba5fe76e7 --- /dev/null +++ b/glsa-202210-26.xml @@ -0,0 +1,42 @@ + + + + Shadow: TOCTOU Race + A TOCTOU race has been discovered in Shadow, which could result in the unauthorized modification of files. + shadow + 2022-10-31 + 2022-10-31 + 830486 + remote + + + 4.12.2 + 4.12.2 + + + +

Shadow contains utilities to deal with user accounts

+
+ +

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.

+
+ +

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

+
+ +

There is no known workaround at this time.

+
+ +

All Shadow users should upgrade to the latest version:

+ + + # emerge --sync + # emerge --ask --oneshot --verbose ">=sys-apps/shadow-4.12.2" + +
+ + CVE-2013-4235 + + ajak + ajak +
\ No newline at end of file