CVE-2020-13131
Last modified
CVE-2020-13131 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yubico | Libykpiv | < 2.1.0 |
| Yubico | Piv Tool Manager | < 2.0.0 |
| Yubico | Yubikey Smart Card Minidriver | <= 4.1.0.172 |
References
- https://blog.inhq.net/posts/yubico-libykpiv-vuln/Exploit, Third Party Advisory
- https://blog.inhq.net/posts/yubico-libykpiv-vuln/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-13131?
How severe is CVE-2020-13131?
How do I fix CVE-2020-13131?
Are you affected by CVE-2020-13131?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
