Description
Race condition in GNU screen 4.0.3 allows local users to create or overwrite arbitrary files via a symlink attack on the /tmp/screen-exchange temporary file.
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 | screen | 4.0.3-13 | — |
| Debian 13 | screen | 4.0.3-13 | — |
| Debian 12 | screen | 4.0.3-13 | — |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=492104
- [oss-security] 20090325 CVE request -- zsh, XFree86-xfs/xorg-x11-xfs, screen mailing-list
- https://bugs.launchpad.net/ubuntu/+source/screen/+bug/315993
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521123
- screen-screenexchange-symlink(49887) vdb-entry
- 34521 vdb-entry
- http://savannah.gnu.org/bugs/?25296