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-2020-13131

4.3 · MEDIUM
Published Jul 9, 2020 yubico CWE-125 EPSS 0.49% (40th pctl)

Overview

CVE-2020-13131 is a medium-severity vulnerability affecting yubico libykpiv. It was published on July 9, 2020 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

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

Technical Description

An issue was discovered in Yubico libykpiv before 2.1.0. lib/util.c in this library (which is included in yubico-piv-tool) does not properly check embedded length fields during device communication. A malicious PIV token can misreport the returned length fields during RSA key generation. This will cause stack memory to be copied into heap allocated memory that gets returned to the caller. The leaked memory could include PINs, passwords, key material, and other sensitive information depending on the integration. During further processing by the caller, this information could leak across trust boundaries. Note that RSA key generation is triggered by the host and cannot directly be triggered by the token.

Remediation

Check the references section for vendor advisories and patches from yubico. Update libykpiv 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
yubico libykpiv >= 0, < 2.1.0 Affected
yubico piv_tool_manager >= 0, < 2.0.0 Affected
yubico yubikey_smart_card_minidriver 0 Affected

Frequently Asked Questions

What is CVE-2020-13131?

CVE-2020-13131 is a medium-severity vulnerability affecting yubico libykpiv. It was published on July 9, 2020 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

How severe is CVE-2020-13131?

This vulnerability has a CVSS 3.1 base score of 4.3, 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-2020-13131?

Check the references section for vendor advisories and patches from yubico. Update libykpiv 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-2020-13131?

CyberStrike's AI-powered security agents can automatically detect CVE-2020-13131 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.