GNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c. Due to the use of an unchecked sprintf() call...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12screen |
All versions→ Not listed |
Not listed |
| Debian:13screen |
All versions→ Not listed |
Not listed |
| Debian:14screen |
< 5.0.2-1→ 5.0.2-1 |
5.0.2-1 |
Original description The description as published by the source.
GNU screen is vulnerable to a global buffer overflow in the SendCmdMessage() function within attacher.c. Due to the use of an unchecked sprintf() call when appending the STY environment variable to the global SocketPath buffer. The vulnerability occurs when GNU screen is executed in an environment where the HOME and STY environment variables contain attacker-controlled values that are sufficiently long. Successful exploitation may result in an application crash or potentially arbitrary code execution. This issue was fixed in version 5.0.2.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org