Description
In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX "-R -L" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | coreutils | No fix yet | — |
| Debian 13 | coreutils | No fix yet | — |
| Debian 12 | coreutils | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | coreutils | No fix yet | — |
| Ubuntu 16.04 LTS | coreutils | No fix yet | — |
| Ubuntu 14.04 LTS | coreutils | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | coreutils | 8.30-r0 | — |
| Alpine v3.23 | coreutils | 8.30-r0 | — |
| Alpine v3.22 | coreutils | 8.30-r0 | — |
| Alpine v3.21 | coreutils | 8.30-r0 | — |
| Alpine v3.20 | coreutils | 8.30-r0 | — |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | coreutils | 8.30-r0 | — |
| Alpine v3.18 | coreutils | 8.30-r0 | — |
| Alpine v3.17 | coreutils | 8.30-r0 | — |
| Alpine v3.16 | coreutils | 8.30-r0 | — |
| Alpine v3.15 | coreutils | 8.30-r0 | — |
| Alpine v3.14 | coreutils | 8.30-r0 | — |
| Alpine v3.13 | coreutils | 8.30-r0 | — |
| Alpine v3.12 | coreutils | 8.30-r0 | — |
| Alpine v3.11 | coreutils | 8.30-r0 | — |
| Alpine v3.10 | coreutils | 8.30-r0 | — |
| Alpine v3.9 | coreutils | 8.30-r0 | — |
| Alpine v3.8 | coreutils | 8.29-r2 | — |
| Alpine v3.7 | coreutils | 8.28-r0 | — |