systemd 242 changes the VT1 mode upon a logout, which allows attackers to read cleartext passwords in certain circumstances, such as watching a shutdown, or using Ctrl-Alt-F1 and Ctrl-Alt-F2. This occurs because the KDGKBMODE (aka current keyboard mode) check is mishandled.
https://security.netapp.com/advisory/ntap-20190530-0002/
https://github.com/systemd/systemd/pull/12378
https://github.com/systemd/systemd/commit/9725f1a10f80f5e0ae7d9b60547458622aeb322f
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1803993