Skip to content

Commit 4d06e52

Browse files
Systemd Insecure PTY Handling Vulnerability
1 parent c34f2d0 commit 4d06e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemd-run-tty.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ v256 that is based on the existing policykit and d-bus based "systemd-run"
1616
transient service execution. The code in "src/run/run.c" on line 1673
1717
creates a PTY master and slave used for this process, and the slave
1818
name is passed to unlockpt() on line 1689. This allows any process to
19-
connect to "/dev/pts/0" interface as a slave, this interface is created
19+
connect to e.g. "/dev/pts/4" slave interface, this interface is created
2020
under the local user context executing "systemd-run". The code subsequently
2121
uses a PTY forwarder (src/shared/ptyfwd.c) and d-bus once authentication
2222
by policykit is approved, the slave end of the pty created will be

0 commit comments

Comments
 (0)