Medium severity · published Jul 9, 2020
CVE-2020-13131
An issue was discovered in Yubico libykpiv before 2.1.0
4.3
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack vector
Physical
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Libykpiv · Yubico
before 2.1.0 · source: NVD
PT
Piv Tool Manager · Yubico
before 2.0.0 · source: NVD
YS
Yubikey Smart Card Minidriver · Yubico
through 4.1.0.172 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-13131
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-13131
Exploit
https://blog.inhq.net/posts/yubico-libykpiv-vuln/
Vendor Advisory
https://www.yubico.com/products/services-software/download/smart-card-drivers-tools/
More from Libykpiv
4.6
CVE-2020-13132
An issue was discovered in Yubico libykpiv before 2.1.0
