製品・ソフトウェアに関する情報
Yubico-Piv におけるバッファエラーの脆弱性
Title Yubico-Piv におけるバッファエラーの脆弱性
Summary

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

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
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 6.8
Vector CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
Score 7.2
Vector AV:L/AC:L/Au:N/C:C/I:C/A:C
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-14779
Summary

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.

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