CVE-2018-14780
CVSS V2 Low 2.1
CVSS V3 Medium 4.6
Description
An out-of-bounds read issue was discovered in the Yubico-Piv 1.5.0 smartcard driver. The file lib/ykpiv.c contains the following code in the function `_ykpiv_fetch_object()`: {% highlight c %} if(sw == SW_SUCCESS) { size_t outlen; int offs = _ykpiv_get_length(data + 1, &outlen); if(offs == 0) { return YKPIV_SIZE_ERROR; } memmove(data, data + 1 + offs, outlen); *len = outlen; return YKPIV_OK; } else { return YKPIV_GENERIC_ERROR; } {% endhighlight %} -- in the end, a `memmove()` occurs with a length retrieved from APDU data. This length is not checked for whether it is outside of the APDU data retrieved. Therefore the `memmove()` could copy bytes behind the allocated data buffer into this buffer.
Overview
- CVE ID
- CVE-2018-14780
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2018-08-15T18:29:00
- Last Modified Date
- 2020-02-25T04:15:11
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:yubico:piv_manager:*:*:*:*:*:*:*:* | 1 | OR | 1.4.2 | |
cpe:2.3:a:yubico:piv_manager:1.4.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:yubico:piv_manager:1.4.2b:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:yubico:piv_manager:1.4.2c:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:yubico:piv_manager:1.4.2d:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:yubico:piv_manager:1.4.2e:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:yubico:piv_manager:1.4.2f:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:yubico:piv_manager:1.4.2g:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:yubico:piv_tool:*:*:*:*:*:*:*:* | 1 | OR | 1.6.0 | |
cpe:2.3:a:yubico:smart_card_minidriver:*:*:*:*:*:*:*:* | 1 | OR | 3.7.3.160 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 2.1
- Severity
- LOW
- Exploitability Score
- 3.9
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- PHYSICAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 4.6
- Base Severity
- MEDIUM
- Exploitability Score
- 0.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://www.yubico.com/support/security-advisories/ysa-2018-03/ | Vendor Advisory |
https://www.x41-dsec.de/lab/advisories/x41-2018-001-Yubico-Piv/ | Third Party Advisory |
http://www.openwall.com/lists/oss-security/2018/08/14/2 | Mailing List Third Party Advisory |
https://usn.ubuntu.com/4276-1/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-14780 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14780 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:48:57 | Added to TrackCVE | |||
2022-12-03 11:13:12 | 2018-08-15T18:29Z | 2018-08-15T18:29:00 | CVE Published Date | updated |
2022-12-03 11:13:12 | 2020-02-25T04:15:11 | CVE Modified Date | updated | |
2022-12-03 11:13:12 | Modified | Vulnerability Status | updated |