CVE-2021-23840 | Integer overflow in CipherUpdate

Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).

公開: 2021-02-16 最終更新: 2026-06-16 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2021-23840 は高リスク(65.5/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 50.73%、99 パーセンタイル) 根拠: EPSS 上、短期間での悪用可能性は高い水準です。 推奨対応: 悪用可能性が高いため、影響範囲の確認と修補の優先付けを推奨します。

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

CVE-2021-23840 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-20 49.80% 50.73% +0.93%
2 2026-06-15 0.46% 49.80% +49.33%
3 2026-06-03 0.46%

EPSS の全履歴 (全 76 件)

CVE-2021-23840 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
3.9 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
3.9 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:L)
手順が短く、再現性が高い。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:N)
機密性は損なわれない。
完全性への影響 (I:N)
完全性は損なわれない。
可用性への影響 (A:P)
可用性は部分的に損なわれる。
10.0 2.9 [email protected]

CVE-2021-23840 の弱点分類(列挙)

CVE-2021-23840 の GitHub Security Advisory

GHSA-qgm6-9472-pwq7 · 深刻度: high · エコシステム: rust — Integer Overflow in openssl-src

CVE-2021-23840 の OS トラッカー

vendor priority summary link
alpine CVE-2021-23840: 3 source package rows (openssl, openssl1.1-compat, openssl3); 45 state rows across 13 repos (3.10-main, 3.11-main, 3.12-main, 3.17-community, 3.17-main, 3.18-community, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-community, edge-main); fixed 15, open 30. https://security.alpinelinux.org/vuln/CVE-2021-23840
debian not yet assigned CVE-2021-23840 not yet assigned priority: Debian including 1 source packages (openssl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2021-23840
gentoo normal CVE-2021-23840: 1 GLSA(s) (202103-03), 1 atom(s) (dev-libs/openssl); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-23840
redhat medium https://access.redhat.com/security/cve/CVE-2021-23840
suse medium CVE-2021-23840 severity moderate: SUSE including 648 source package names (0.1.0:libopenssl1_1-1.1.0i-14.15.1, 0.1.75:libopenssl1_1-1.1.0i-14.15.1, …), 1490 product×package rows across 282 product lines (Container bci/bci-init, Container bci/dotnet-aspnet, … (282 product lines)): Fixed 1163, Known Not Affected 191, Known Affected 135, Will Not Fix 1. https://www.suse.com/security/cve/CVE-2021-23840/
ubuntu low CVE-2021-23840 low priority: Ubuntu including 4 source packages (edk2, nodejs, openssl, openssl1.0), 64 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 24, released 20, DNE 15, needed 2, needs-triage 2, ignored 1. https://ubuntu.com/security/CVE-2021-23840

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

ベンダー 製品 バージョン 生の CPE
openssl openssl >= 1.0.2, < 1.0.2y cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
openssl openssl >= 1.1.1, < 1.1.1j cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
tenable log_correlation_engine < 6.0.8 cpe:2.3:a:tenable:log_correlation_engine:*:*:*:*:*:*:*:*
tenable nessus_network_monitor 5.11.0 cpe:2.3:a:tenable:nessus_network_monitor:5.11.0:*:*:*:*:*:*:*
tenable nessus_network_monitor 5.11.1 cpe:2.3:a:tenable:nessus_network_monitor:5.11.1:*:*:*:*:*:*:*
tenable nessus_network_monitor 5.12.0 cpe:2.3:a:tenable:nessus_network_monitor:5.12.0:*:*:*:*:*:*:*
tenable nessus_network_monitor 5.12.1 cpe:2.3:a:tenable:nessus_network_monitor:5.12.1:*:*:*:*:*:*:*
tenable nessus_network_monitor 5.13.0 cpe:2.3:a:tenable:nessus_network_monitor:5.13.0:*:*:*:*:*:*:*
oracle business_intelligence 5.5.0.0.0 cpe:2.3:a:oracle:business_intelligence:5.5.0.0.0:*:*:*:enterprise:*:*:*
oracle business_intelligence 5.9.0.0.0 cpe:2.3:a:oracle:business_intelligence:5.9.0.0.0:*:*:*:enterprise:*:*:*
oracle business_intelligence 12.2.1.3.0 cpe:2.3:a:oracle:business_intelligence:12.2.1.3.0:*:*:*:enterprise:*:*:*
oracle business_intelligence 12.2.1.4.0 cpe:2.3:a:oracle:business_intelligence:12.2.1.4.0:*:*:*:enterprise:*:*:*
oracle communications_cloud_native_core_policy 1.15.0 cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:*
oracle enterprise_manager_for_storage_management 13.4.0.0 cpe:2.3:a:oracle:enterprise_manager_for_storage_management:13.4.0.0:*:*:*:*:*:*:*
oracle enterprise_manager_ops_center 12.4.0.0 cpe:2.3:a:oracle:enterprise_manager_ops_center:12.4.0.0:*:*:*:*:*:*:*
oracle graalvm 19.3.5 cpe:2.3:a:oracle:graalvm:19.3.5:*:*:*:enterprise:*:*:*
oracle graalvm 20.3.1.2 cpe:2.3:a:oracle:graalvm:20.3.1.2:*:*:*:enterprise:*:*:*
oracle graalvm 21.0.0.2 cpe:2.3:a:oracle:graalvm:21.0.0.2:*:*:*:enterprise:*:*:*
oracle jd_edwards_enterpriseone_tools < 9.2.6.0 cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*
oracle jd_edwards_world_security a9.4 cpe:2.3:a:oracle:jd_edwards_world_security:a9.4:*:*:*:*:*:*:*
oracle mysql_server < 5.7.33 cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*
oracle mysql_server >= 8.0.15, < 8.0.23 cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*
oracle nosql_database < 20.3 cpe:2.3:a:oracle:nosql_database:*:*:*:*:*:*:*:*
mcafee epolicy_orchestrator < 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:*:*:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:-:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_1:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_10:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_2:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_3:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_4:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_5:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_6:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_7:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_8:*:*:*:*:*:*
mcafee epolicy_orchestrator 5.10.0 cpe:2.3:a:mcafee:epolicy_orchestrator:5.10.0:update_9:*:*:*:*:*:*
fujitsu m10-1_firmware < xcp2410 cpe:2.3:o:fujitsu:m10-1_firmware:*:*:*:*:*:*:*:*
fujitsu m10-4_firmware < xcp2410 cpe:2.3:o:fujitsu:m10-4_firmware:*:*:*:*:*:*:*:*
fujitsu m10-4s_firmware < xcp2410 cpe:2.3:o:fujitsu:m10-4s_firmware:*:*:*:*:*:*:*:*
fujitsu m12-1_firmware < xcp2410 cpe:2.3:o:fujitsu:m12-1_firmware:*:*:*:*:*:*:*:*
fujitsu m12-2_firmware < xcp2410 cpe:2.3:o:fujitsu:m12-2_firmware:*:*:*:*:*:*:*:*
fujitsu m12-2s_firmware < xcp2410 cpe:2.3:o:fujitsu:m12-2s_firmware:*:*:*:*:*:*:*:*
fujitsu m10-1_firmware < xcp3110 cpe:2.3:o:fujitsu:m10-1_firmware:*:*:*:*:*:*:*:*
fujitsu m10-4_firmware < xcp3110 cpe:2.3:o:fujitsu:m10-4_firmware:*:*:*:*:*:*:*:*
fujitsu m10-4s_firmware < xcp3110 cpe:2.3:o:fujitsu:m10-4s_firmware:*:*:*:*:*:*:*:*
fujitsu m12-1_firmware < xcp3110 cpe:2.3:o:fujitsu:m12-1_firmware:*:*:*:*:*:*:*:*
fujitsu m12-2_firmware < xcp3110 cpe:2.3:o:fujitsu:m12-2_firmware:*:*:*:*:*:*:*:*
fujitsu m12-2s_firmware < xcp3110 cpe:2.3:o:fujitsu:m12-2s_firmware:*:*:*:*:*:*:*:*
nodejs node.js >= 10.0.0, <= 10.12.0 cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
nodejs node.js >= 10.13.0, < 10.24.0 cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
nodejs node.js >= 12.0.0, <= 12.12.0 cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
nodejs node.js >= 12.13.0, < 12.21.0 cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
nodejs node.js >= 14.0.0, <= 14.14.0 cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
nodejs node.js >= 15.0.0, < 15.10.0 cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
nodejs node.js 14.15.0 cpe:2.3:a:nodejs:node.js:14.15.0:*:*:*:lts:*:*:*

CVE-2021-23840 の参考情報

URL タグ
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf Third Party Advisory
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=9b1129239f3ebb1d1c98ce9ed41d5c9476c47cb2
https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44846 Third Party Advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10366 Third Party Advisory
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
https://security.gentoo.org/glsa/202103-03 Third Party Advisory
https://security.netapp.com/advisory/ntap-20210219-0009/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20240621-0006/
https://www.debian.org/security/2021/dsa-4855 Third Party Advisory
https://www.openssl.org/news/secadv/20210216.txt Vendor Advisory
https://www.oracle.com//security-alerts/cpujul2021.html Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpuApr2021.html Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html Patch Third Party Advisory
https://www.tenable.com/security/tns-2021-03 Third Party Advisory
https://www.tenable.com/security/tns-2021-09 Third Party Advisory
https://www.tenable.com/security/tns-2021-10 Third Party Advisory
cvelogic Threat Intelligence