CVE-2020-13131
CVSS V2 Low 1.9
CVSS V3 Medium 4.3
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.
Overview
- CVE ID
- CVE-2020-13131
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2020-07-09T18:15:10
- Last Modified Date
- 2020-07-16T19:04:40
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:yubico:libykpiv:*:*:*:*:*:*:*:* | 1 | OR | 2.1.0 | |
cpe:2.3:a:yubico:piv_tool_manager:*:*:*:*:*:*:*:* | 1 | OR | 2.0.0 | |
cpe:2.3:a:yubico:yubikey_smart_card_minidriver:*:*:*:*:*:*:*:* | 1 | OR | 4.1.0.172 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:M/Au:N/C:P/I:N/A:N
- Access Vector
- LOCAL
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 1.9
- Severity
- LOW
- Exploitability Score
- 3.4
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Attack Vector
- PHYSICAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 4.3
- Base Severity
- MEDIUM
- Exploitability Score
- 0.7
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://www.yubico.com/products/services-software/download/smart-card-drivers-tools/ | Vendor Advisory |
https://blog.inhq.net/posts/yubico-libykpiv-vuln/ | Exploit Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-13131 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13131 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:40:37 | Added to TrackCVE | |||
2022-12-04 19:20:24 | 2020-07-09T18:15Z | 2020-07-09T18:15:10 | CVE Published Date | updated |
2022-12-04 19:20:24 | 2020-07-16T19:04:40 | CVE Modified Date | updated | |
2022-12-04 19:20:24 | Analyzed | Vulnerability Status | updated |