MEDIUM · 4.3

CVE-2020-13131

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...

Vulnerability 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.

CVSS Score

4.3

MEDIUM

CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack Vector
PHYSICAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE

Affected Products

VendorProductVersions
YubicoLibykpiv< 2.1.0
YubicoPiv Tool Manager< 2.0.0
YubicoYubikey Smart Card Minidriver<= 4.1.0.172

Related Weaknesses (CWE)

References

FAQ

What is CVE-2020-13131?

CVE-2020-13131 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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...

How severe is CVE-2020-13131?

CVE-2020-13131 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2020-13131?

Check the references section above for vendor advisories and patch information. Affected products include: Yubico Libykpiv, Yubico Piv Tool Manager, Yubico Yubikey Smart Card Minidriver.