Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2018-20340

6.8 · MEDIUM
Published Mar 21, 2019 yubico CWE-119

Overview

CVE-2018-20340 is a medium-severity vulnerability affecting yubico libu2f-host. It was published on March 21, 2019 and has a CVSS 3.0 base score of 6.8 (MEDIUM).

This vulnerability has a CVSS 3.0 base score of 6.8, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from yubico. Update libu2f-host to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2018-20340?

CVE-2018-20340 is a medium-severity vulnerability affecting yubico libu2f-host. It was published on March 21, 2019 and has a CVSS 3.0 base score of 6.8 (MEDIUM).

How severe is CVE-2018-20340?

This vulnerability has a CVSS 3.0 base score of 6.8, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2018-20340?

Check the references section for vendor advisories and patches from yubico. Update libu2f-host to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2018-20340?

CyberStrike's AI-powered security agents can automatically detect CVE-2018-20340 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.