cve.bz

CVE-2018-20340

6.8 mediumEPSS 0.5%Fix available

Medium (6.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

6.8 medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-20340 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20340?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20340?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-20340 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
yubico:libu2f-host1.1.6
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libu2f-host1.1.2-2+deb9u1DSA-4389-1
Debian12, 13, 14libu2f-host1.1.7-1DEBIAN-CVE-2018-20340
Ubuntu16.04:LTSlibu2f-hostno fix listedUBUNTU-CVE-2018-20340
Ubuntu18.04:LTSlibu2f-host1.1.4-1ubuntu0.1UBUNTU-CVE-2018-20340
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4libu2f-host1.1.6-3.5.1SUSE-SU-2019:1749-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4pam_u2f1.0.8-3.3.1SUSE-SU-2019:1749-1
SUSELinux Enterprise Module for Basesystem 15libu2f-host1.1.6-3.3.3SUSE-SU-2019:1340-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3libu2f-host1.1.10-3.9.1SUSE-SU-2021:1755-1
openSUSELeap 15.0, Leap 15.1libu2f-host1.1.6-lp151.2.3.1openSUSE-SU-2019:1475-1
openSUSELeap 15.2libu2f-host1.1.10-lp152.4.3.1openSUSE-SU-2021:0799-1
openSUSELeap 15.3libu2f-host1.1.10-3.9.1openSUSE-SU-2021:1755-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON