{"id":"UBUNTU-CVE-2018-20340","details":"Yubico libu2f-host 1.1.6 contains unchecked buffers in devs.c, which could enable a malicious token to exploit a buffer overflow. An attacker could use this to attempt to execute malicious code using a crafted USB device masquerading as a security token on a computer where the affected library is currently in use. It is not possible to perform this attack with a genuine YubiKey.","modified":"2025-10-24T04:47:18Z","published":"2019-02-08T11:00:00Z","upstream":["CVE-2018-20340"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20340"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20340"}],"affected":[{"package":{"name":"libu2f-host","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libu2f-host@1.0.0-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0.4-1","1.0.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libu2f-host-dev","binary_version":"1.0.0-1"},{"binary_name":"libu2f-host0","binary_version":"1.0.0-1"},{"binary_name":"u2f-host","binary_version":"1.0.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20340.json"}},{"package":{"name":"libu2f-host","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libu2f-host@1.1.4-1ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.4-1ubuntu0.1"}]}],"versions":["1.1.3-1","1.1.4-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libu2f-host-dev","binary_version":"1.1.4-1ubuntu0.1"},{"binary_name":"libu2f-host0","binary_version":"1.1.4-1ubuntu0.1"},{"binary_name":"libu2f-udev","binary_version":"1.1.4-1ubuntu0.1"},{"binary_name":"u2f-host","binary_version":"1.1.4-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20340.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}