Vulnerability Details : CVE-2018-14780
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.
Products affected by CVE-2018-14780
- cpe:2.3:a:yubico:piv_manager:*:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:piv_manager:1.4.2g:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:piv_manager:1.4.2f:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:piv_manager:1.4.2d:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:piv_manager:1.4.2b:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:piv_manager:1.4.2e:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:piv_manager:1.4.2c:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:piv_manager:1.4.2:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:smart_card_minidriver:*:*:*:*:*:*:*:*
- cpe:2.3:a:yubico:piv_tool:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-14780
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 37 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-14780
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
2.1
|
LOW | AV:L/AC:L/Au:N/C:P/I:N/A:N |
3.9
|
2.9
|
NIST | |
4.6
|
MEDIUM | CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
0.9
|
3.6
|
NIST |
CWE ids for CVE-2018-14780
-
The product reads data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-14780
-
https://www.yubico.com/support/security-advisories/ysa-2018-03/
Security Advisory 2018-08-08 | YubicoVendor Advisory
-
https://www.x41-dsec.de/lab/advisories/x41-2018-001-Yubico-Piv/
Advisory X41-2018-001: Multiple Vulnerabilities in Yubico-Piv | X41 D-SEC GmbHThird Party Advisory
-
https://usn.ubuntu.com/4276-1/
USN-4276-1: Yubico PIV Tool vulnerabilities | Ubuntu security notices
-
http://www.openwall.com/lists/oss-security/2018/08/14/2
oss-security - X41 D-Sec GmbH Security Advisory X41-2018-001: Multiple Vulnerabilities in Yubico PivMailing List;Third Party Advisory
Jump to