製品・ソフトウェアに関する情報
Yubico-Piv における境界外読み取りに関する脆弱性
Title Yubico-Piv における境界外読み取りに関する脆弱性
Summary

Yubico-Piv には、境界外読み取りに関する脆弱性が存在します。

Possible impacts 情報を取得される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Aug. 8, 2018, midnight
Registration Date Nov. 14, 2018, 2:11 p.m.
Last Update Nov. 14, 2018, 2:11 p.m.
CVSS3.0 : 警告
Score 4.6
Vector CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS2.0 : 注意
Score 2.1
Vector AV:L/AC:L/Au:N/C:P/I:N/A:N
Affected System
Yubico
Yubico PIV Tool 
YubiKey PIV Manager 
Yubikey Smart Card Minidriver 
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2018年11月14日]
  掲載
Nov. 14, 2018, 2:11 p.m.

NVD Vulnerability Information
CVE-2018-14780
Summary

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.

Publication Date Aug. 16, 2018, 3:29 a.m.
Registration Date March 1, 2021, 6:57 p.m.
Last Update Nov. 21, 2024, 12:49 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:yubico:smart_card_minidriver:*:*:*:*:*:*:*:* 3.7.3.160
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.2e:*:*:*:*:*:*:*
cpe:2.3:a:yubico:piv_manager:1.4.2d:*:*:*:*:*:*:*
cpe:2.3:a:yubico:piv_manager:1.4.2c:*:*:*:*:*:*:*
cpe:2.3:a:yubico:piv_manager:1.4.2b:*:*:*:*:*:*:*
cpe:2.3:a:yubico:piv_tool:*:*:*:*:*:*:*:* 1.6.0
cpe:2.3:a:yubico:piv_manager:*:*:*:*:*:*:*:* 1.4.2
cpe:2.3:a:yubico:piv_manager:1.4.2:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List