CVE-2023-40661 | Opensc: multiple memory issues with pkcs15-init (enrollment tool)

Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or administrator enrolls cards. To take advantage of these flaws, an attacker must have physical access to the computer system and employ a custom-crafted USB device or smart card to manipulate responses to APDUs. This manipulation can potentially allow compromise key generation, certificate loading, and other card management operations during enrollment.

公開: 2023-11-06 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2023-40661 は中リスク(44.6/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 1.17%、63 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2023-40661 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.32% 1.17% +0.85%
2 2025-11-21 0.53% 0.32% -0.20%
3 2025-11-18 0.53%

EPSS の全履歴 (全 9 件)

CVE-2023-40661 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.4 3.1 MEDIUM
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H クリックして展開
攻撃ベクター (AV:P)
端末への物理接触(USB 挿入やコンソール操作など)が前提。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
0.7 4.7 [email protected]
6.4 3.1 MEDIUM
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:P)
端末への物理接触(USB 挿入やコンソール操作など)が前提。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
0.5 5.9 [email protected]

CVE-2023-40661 の弱点分類(列挙)

CVE-2023-40661 の OS トラッカー

vendor priority summary link
alpine CVE-2023-40661: 1 source package rows (opensc); 12 state rows across 6 repos (3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 5, open 7. https://security.alpinelinux.org/vuln/CVE-2023-40661
debian not yet assigned CVE-2023-40661 not yet assigned priority: Debian including 1 source packages (opensc), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-40661
gentoo normal CVE-2023-40661: 1 GLSA(s) (202412-15), 1 atom(s) (dev-libs/opensc); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-40661
redhat medium https://access.redhat.com/security/cve/CVE-2023-40661
suse medium https://www.suse.com/security/cve/CVE-2023-40661/
ubuntu medium CVE-2023-40661 medium priority: Ubuntu including 1 source packages (opensc), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 6, ignored 3, released 3. https://ubuntu.com/security/CVE-2023-40661

CVE-2023-40661 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
opensc_project opensc <= 0.23.0 cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
redhat enterprise_linux 9.0 cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

CVE-2023-40661 の参考情報

URL タグ
https://access.redhat.com/errata/RHSA-2023:7876
https://access.redhat.com/errata/RHSA-2023:7879
https://access.redhat.com/security/cve/CVE-2023-40661 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2240913 Issue Tracking
https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651 VDB Entry
https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1 Release Notes
https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories Vendor Advisory
http://www.openwall.com/lists/oss-security/2023/12/13/3
https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html
https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/
https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/
cvelogic Threat Intelligence