Affected versions
- Affected versions
- <2.35-0ubuntu3.18 || =2.34-0ubuntu3 || =2.35-0ubuntu1 || =2.35-0ubuntu3 || =2.35-0ubuntu3.1 || =2.35-0ubuntu3.3 || =2.35-0ubuntu3.4 || =2.35-0ubuntu3.5 || =2.35-0ubuntu3.6 || =2.35-0ubuntu3.7 || =2.35-0ubuntu3.8 || =2.35-0ubuntu3.9 || =2.35-0ubuntu3.10 || =2.35-0ubuntu3.11 || =2.35-0ubuntu3.12 || =2.35-0ubuntu3.13 || =2.35-0ubuntu3.14 || =2.35-0ubuntu3.15
- Fixed version
- 2.35-0ubuntu3.18
- Affected versions
- <2.39-0ubuntu8.12 || =2.38-1ubuntu6 || =2.38-3ubuntu1 || =2.39-0ubuntu1 || =2.39-0ubuntu2 || =2.39-0ubuntu6 || =2.39-0ubuntu8 || =2.39-0ubuntu8.1 || =2.39-0ubuntu8.2 || =2.39-0ubuntu8.3 || =2.39-0ubuntu8.4 || =2.39-0ubuntu8.5 || =2.39-0ubuntu8.6 || =2.39-0ubuntu8.7 || =2.39-0ubuntu8.8 || =2.39-0ubuntu8.9
- Fixed version
- 2.39-0ubuntu8.12
- Affected versions
- <2.43-2ubuntu2.7 || =2.42-0ubuntu3 || =2.42-2ubuntu1 || =2.42-2ubuntu2 || =2.42-2ubuntu4 || =2.42-2ubuntu5 || =2.43-2ubuntu1 || =2.43-2ubuntu2 || =2.43-2ubuntu2.3 || =2.43-2ubuntu2.4
- Fixed version
- 2.43-2ubuntu2.7
- Affected versions
- * || =2.17-93ubuntu4 || =2.18-0ubuntu1 || =2.18-0ubuntu2 || =2.18-0ubuntu4 || =2.18-0ubuntu5 || =2.18-0ubuntu6 || =2.18-0ubuntu7 || =2.19-0ubuntu2 || =2.19-0ubuntu3 || =2.19-0ubuntu4 || =2.19-0ubuntu5 || =2.19-0ubuntu6 || =2.19-0ubuntu6.1 || =2.19-0ubuntu6.3 || =2.19-0ubuntu6.4 || =2.19-0ubuntu6.5 || =2.19-0ubuntu6.6 || =2.19-0ubuntu6.7 || =2.19-0ubuntu6.8 || =2.19-0ubuntu6.9 || =2.19-0ubuntu6.10 || =2.19-0ubuntu6.11 || =2.19-0ubuntu6.13 || =2.19-0ubuntu6.14 || =2.19-0ubuntu6.15 || =2.19-0ubuntu6.15+esm1 || =2.19-0ubuntu6.15+esm2 || =2.19-0ubuntu6.15+esm3 || =2.19-0ubuntu6.15+esm4
- Fixed version
- Not reported
- Affected versions
- * || =2.21-0ubuntu4 || =2.21-0ubuntu5 || =2.21-0ubuntu6 || =2.23-0ubuntu1 || =2.23-0ubuntu2 || =2.23-0ubuntu3 || =2.23-0ubuntu4 || =2.23-0ubuntu5 || =2.23-0ubuntu6 || =2.23-0ubuntu7 || =2.23-0ubuntu9 || =2.23-0ubuntu10 || =2.23-0ubuntu11 || =2.23-0ubuntu11.2 || =2.23-0ubuntu11.3 || =2.23-0ubuntu11.3+esm1 || =2.23-0ubuntu11.3+esm2 || =2.23-0ubuntu11.3+esm3 || =2.23-0ubuntu11.3+esm5 || =2.23-0ubuntu11.3+esm6 || =2.23-0ubuntu11.3+esm7 || =2.23-0ubuntu11.3+esm8 || =2.23-0ubuntu11.3+esm9
- Fixed version
- Not reported
- Affected versions
- * || =2.26-0ubuntu2 || =2.26-0ubuntu2.1 || =2.27-0ubuntu2 || =2.27-0ubuntu3 || =2.27-3ubuntu1 || =2.27-3ubuntu1.2 || =2.27-3ubuntu1.3 || =2.27-3ubuntu1.4 || =2.27-3ubuntu1.5 || =2.27-3ubuntu1.6 || =2.27-3ubuntu1.6+esm1 || =2.27-3ubuntu1.6+esm2 || =2.27-3ubuntu1.6+esm3 || =2.27-3ubuntu1.6+esm4 || =2.27-3ubuntu1.6+esm5 || =2.27-3ubuntu1.6+esm6
- Fixed version
- Not reported
- Affected versions
- * || =2.30-0ubuntu2 || =2.30-0ubuntu3 || =2.31-0ubuntu5 || =2.31-0ubuntu6 || =2.31-0ubuntu7 || =2.31-0ubuntu9 || =2.31-0ubuntu9.1 || =2.31-0ubuntu9.2 || =2.31-0ubuntu9.3 || =2.31-0ubuntu9.7 || =2.31-0ubuntu9.9 || =2.31-0ubuntu9.12 || =2.31-0ubuntu9.14 || =2.31-0ubuntu9.15 || =2.31-0ubuntu9.16 || =2.31-0ubuntu9.17 || =2.31-0ubuntu9.18 || =2.31-0ubuntu9.18+esm1
- Fixed version
- Not reported
Description
A time-of-check to time-of-use (TOCTOU) race condition in the dynamic loader (ld.so) of the GNU C Library (glibc) versions 2.14 through 2.44 allows a local attacker to escalate privileges. When expanding $ORIGIN in DT_RPATH for setuid/setgid (AT_SECURE) programs, glibc validates the lexically normalized search path against the trusted directories but then opens the raw, un-normalized path. On systems where the Linux fs.protected_hardlinks sysctl is disabled, a local attacker who hard-links such a program into an attacker-controlled directory and wins a race to replace an intermediate path component with a symbolic link can direct the loader outside the trusted directory, causing it to load an attacker-controlled shared object and execute arbitrary code with the elevated privileges of the program. Exploitation requires an installed setuid or setgid binary whose DT_RPATH uses $ORIGIN followed by ".." traversal that normalizes into a trusted directory, and the ability to hard-link that binary and win the race by swapping a path component for a symbolic link. Major Linux-based OS distributions ship with fs.protected_hardlinks enabled by default and mitigate the vulnerability.

