CVEfocus › CVE database › CVE-2018-20839

CVE-2018-20839

CVSS 4.3 MediumEPSS 2.5% (higher than 85% of CVEs)Published 2019-05-17Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
1Fix pending
8Will not fix
24Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04systemdNot affected
vulnerable_code_not_present
Ubuntu 16.04systemdFix pending
Debian 14plymouthFixed0.9.4-1DEBIAN-CVE-2018-20839
Debian 13plymouthFixed0.9.4-1DEBIAN-CVE-2018-20839
Debian 12plymouthFixed0.9.4-1DEBIAN-CVE-2018-20839
Red Hat Enterprise Linux 9rhel-net-naming-sysattrsNot affected
Red Hat Enterprise Linux 9systemdNot affected
Red Hat Enterprise Linux 9systemd-boot-unsignedNot affected
Red Hat Enterprise Linux 9systemd-containerNot affected
Red Hat Enterprise Linux 9systemd-develNot affected
Red Hat Enterprise Linux 9systemd-journal-remoteNot affected
Red Hat Enterprise Linux 9systemd-libsNot affected
Red Hat Enterprise Linux 9systemd-oomdNot affected
Red Hat Enterprise Linux 9systemd-pamNot affected
Red Hat Enterprise Linux 9systemd-resolvedNot affected
Red Hat Enterprise Linux 9systemd-rpm-macrosNot affected
Red Hat Enterprise Linux 9systemd-udevNot affected
Red Hat Enterprise Linux 9systemd-ukifyNot affected
Red Hat Enterprise Linux 8systemdWill not fix
Will not fix
Red Hat Enterprise Linux 8systemd-containerWill not fix
Will not fix
Red Hat Enterprise Linux 8systemd-develWill not fix
Will not fix
Red Hat Enterprise Linux 8systemd-journal-remoteWill not fix
Will not fix
Red Hat Enterprise Linux 8systemd-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8systemd-pamWill not fix
Will not fix
Red Hat Enterprise Linux 8systemd-testsWill not fix
Will not fix
Red Hat Enterprise Linux 8systemd-udevWill not fix
Will not fix
Red Hat Enterprise Linux 7libgudev1Not affected
Red Hat Enterprise Linux 7libgudev1-develNot affected
Red Hat Enterprise Linux 7systemdNot affected
Red Hat Enterprise Linux 7systemd-develNot affected
Red Hat Enterprise Linux 7systemd-journal-gatewayNot affected
Red Hat Enterprise Linux 7systemd-libsNot affected
Red Hat Enterprise Linux 7systemd-networkdNot affected
Red Hat Enterprise Linux 7systemd-pythonNot affected
Red Hat Enterprise Linux 7systemd-resolvedNot affected
Red Hat Enterprise Linux 7systemd-sysvNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.