| 概要 | 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 |
| CVSS3.0 : MEDIUM | |
| スコア | 4.6 |
|---|---|
| ベクター | CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 攻撃元区分(AV) | 物理 |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | なし |
| CVSS2.0 : LOW | |
| スコア | 2.1 |
|---|---|
| ベクター | AV:L/AC:L/Au:N/C:P/I:N/A:N |
| 攻撃元区分(AV) | ローカル |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | 低 |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | なし |
| 全ての特権を取得 | いいえ |
| ユーザー権限を取得 | いいえ |
| その他の権限を取得 | いいえ |
| ユーザー操作が必要 | いいえ |
| 構成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:*:*:*:*:*:*:* | |||||
| タイトル | Yubico-Piv における境界外読み取りに関する脆弱性 |
|---|---|
| 概要 | Yubico-Piv には、境界外読み取りに関する脆弱性が存在します。 |
| 想定される影響 | 情報を取得される可能性があります。 |
| 対策 | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2018年8月8日0:00 |
| 登録日 | 2018年11月14日14:11 |
| 最終更新日 | 2018年11月14日14:11 |
| Yubico |
| Yubico PIV Tool |
| YubiKey PIV Manager |
| Yubikey Smart Card Minidriver |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2018年11月14日] 掲載 |
2018年11月14日14:11 |