CVE-2018-14780
Summary
| CVE | CVE-2018-14780 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-08-15 18:29:00 UTC |
| Updated | 2020-02-25 04:15:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-125
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Yubico | Piv Manager | All | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2 | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2b | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2c | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2d | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2e | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2f | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2g | All | All | All |
| Application | Yubico | Piv Manager | All | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2b | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2c | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2d | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2e | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2f | All | All | All |
| Application | Yubico | Piv Manager | 1.4.2g | All | All | All |
| Application | Yubico | Piv Tool | All | All | All | All |
| Application | Yubico | Piv Tool | All | All | All | All |
| Application | Yubico | Smart Card Minidriver | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Security advisory YSA-2018-03 - Yubico | CONFIRM | www.yubico.com | Vendor Advisory |
| USN-4276-1: Yubico PIV Tool vulnerabilities | Ubuntu security notices | Ubuntu | UBUNTU | usn.ubuntu.com | |
| oss-security - X41 D-Sec GmbH Security Advisory X41-2018-001: Multiple Vulnerabilities in Yubico Piv | MLIST | www.openwall.com | Mailing List, Third Party Advisory |
| Advisory X41-2018-001: Multiple Vulnerabilities in Yubico-Piv | X41 D-SEC GmbH | MISC | www.x41-dsec.de | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.