Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| GNU | Screen | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Gnu | Screen |
|
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen | |
| First Time appeared |
Gnu
Gnu screen |
|
| Weaknesses | CWE-367 | |
| CPEs | cpe:2.3:a:gnu:screen:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gnu
Gnu screen |
|
| References |
|
|
| Metrics |
cvssV4_0
|