Yubico-Piv における境界外読み取りに関する脆弱性
タイトル Yubico-Piv における境界外読み取りに関する脆弱性
概要

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

想定される影響 情報を取得される可能性があります。
対策

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

公表日 2018年8月8日0:00
登録日 2018年11月14日14:11
最終更新日 2018年11月14日14:11
CVSS3.0 : 警告
スコア 4.6
ベクター CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS2.0 : 注意
スコア 2.1
ベクター AV:L/AC:L/Au:N/C:P/I:N/A:N
影響を受けるシステム
Yubico
Yubico PIV Tool 
YubiKey PIV Manager 
Yubikey Smart Card Minidriver 
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2018年11月14日]
  掲載
2018年11月14日14:11

NVD脆弱性情報
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.

公表日 2018年8月16日3:29
登録日 2021年3月1日18:57
最終更新日 2024年11月21日12:49
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
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:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧