GNU Screenの脆弱性、ローカルの攻撃者に権限昇格のおそれ
Summary
GNU Screenのhardcopyファイル処理に競合状態の脆弱性があり、ローカルの一般ユーザーが任意のシステムファイルへ書き込み、root権限で権限昇格されるおそれがあります。影響を受けるのは5.0.2より前のバージョンで、5.0.2で修正されています。修正版への更新を優先して進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
GNU Screenのhardcopyファイル処理に競合状態の脆弱性があり、ローカルの一般ユーザーが任意のシステムファイルへ書き込み、root権限で権限昇格されるおそれがあります。影響を受けるのは5.0.2より前のバージョンで、5.0.2で修正されています。修正版への更新を優先して進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GNUScreen |
< 5.0.2→ 5.0.2 |
5.0.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-71411 screen Fix available
- Ubuntu UBUNTU-CVE-2026-71411 screen No fixed version in this record
Original description The description as published by the source.
GNU Screen is vulnerable to a Time-of-Check/Time-of-Use (TOCTOU) race condition in the hardcopy file handler. Due to checking write permissions using the real user ID and subsequently opening the file using the effective user ID, a local unprivileged attacker can atomically replace the target path with a symbolic link pointing to an arbitrary system file. Successfully exploiting this race condition allows the attacker to write to arbitrary files with root privileges, leading to local privilege escalation
This issue was fixed in version 5.0.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- REDHAT Red Hat
- web cvd@cert.pl
- web cvd@cert.pl
- web cvd@cert.pl
- web cvd@cert.pl
- web nvd.nist.gov
- web github.com