Vulnerability Details : CVE-2020-13131
Potential exploit
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.
Products affected by CVE-2020-13131
- cpe:2.3:a:yubico:libykpiv:*:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:piv_tool_manager:*:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:yubikey_smart_card_minidriver:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-13131
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 18 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-13131
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
1.9
|
LOW | AV:L/AC:M/Au:N/C:P/I:N/A:N |
3.4
|
2.9
|
NIST | |
4.3
|
MEDIUM | CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
0.7
|
3.6
|
MITRE | |
4.3
|
MEDIUM | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
0.7
|
3.6
|
NIST |
CWE ids for CVE-2020-13131
-
The product reads data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-13131
-
https://www.yubico.com/products/services-software/download/smart-card-drivers-tools/
Smart card drivers and tools | YubicoVendor Advisory
-
https://blog.inhq.net/posts/yubico-libykpiv-vuln/
Yubico libykpiv vulnerabilities | invd blogExploit;Third Party Advisory
Jump to