{"id":"CVE-2018-20839","details":"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.","modified":"2026-04-10T04:07:42.750632Z","published":"2019-05-17T04:29:00.933Z","references":[{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20190530-0002/"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/108389"},{"type":"REPORT","url":"https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1803993"},{"type":"FIX","url":"https://github.com/systemd/systemd/commit/9725f1a10f80f5e0ae7d9b60547458622aeb322f"},{"type":"FIX","url":"https://github.com/systemd/systemd/pull/12378"},{"type":"ARTICLE","url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/systemd/systemd","events":[{"introduced":"0"},{"last_affected":"1e5d2d656420d0e755dbcf72aeba3c3aba54e956"},{"fixed":"9725f1a10f80f5e0ae7d9b60547458622aeb322f"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"242-NA"}]}}],"versions":["v1","v10","v11","v12","v13","v14","v15","v16","v17","v18","v183","v184","v185","v186","v187","v188","v189","v19","v190","v191","v192","v193","v194","v195","v196","v197","v198","v199","v2","v20","v200","v201","v202","v203","v204","v205","v206","v207","v208","v209","v21","v210","v211","v212","v213","v214","v215","v216","v217","v218","v219","v22","v220","v221","v222","v223","v224","v225","v226","v227","v228","v229","v23","v230","v231","v232","v233","v234","v235","v236","v237","v238","v239","v24","v240","v241","v241-rc1","v241-rc2","v242","v242-rc1","v242-rc2","v242-rc3","v242-rc4","v25","v26","v27","v28","v29","v3","v30","v31","v32","v33","v34","v35","v36","v37","v38","v39","v4","v40","v41","v42","v43","v44","v5","v6","v7","v8","v9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20839.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}