Yubico-Piv におけるバッファエラーの脆弱性
タイトル Yubico-Piv におけるバッファエラーの脆弱性
概要

Yubico-Piv には、バッファエラーの脆弱性、および境界外書き込みに関する脆弱性が存在します。

想定される影響 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
対策

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

公表日 2018年8月8日0:00
登録日 2018年11月14日14:11
最終更新日 2018年11月14日14:11
CVSS3.0 : 警告
スコア 6.8
ベクター CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
スコア 7.2
ベクター AV:L/AC:L/Au:N/C:C/I:C/A:C
影響を受けるシステム
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-14779
概要

A buffer overflow 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_transfer_data()`: {% highlight c %} if(*out_len + recv_len - 2 > max_out) { fprintf(stderr, "Output buffer to small, wanted to write %lu, max was %lu.", *out_len + recv_len - 2, max_out); } if(out_data) { memcpy(out_data, data, recv_len - 2); out_data += recv_len - 2; *out_len += recv_len - 2; } {% endhighlight %} -- it is clearly checked whether the buffer is big enough to hold the data copied using `memcpy()`, but no error handling happens to avoid the `memcpy()` in such cases. This code path can be triggered with malicious data coming from a smartcard.

公表日 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:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧