CVE-2018-20346

Exp

SQLite before 3.25.3, when the FTS3 extension is enabled, encounters an integer overflow (and resultant buffer overflow) for FTS3 queries that occur after crafted changes to FTS3 shadow tables, allowing remote attackers to execute arbitrary code by leveraging the ability to run arbitrary SQL statements (such as in certain WebSQL use cases), aka Magellan.

公開: 2018-12-21 最終更新: 2026-06-16 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2018-20346 は悪用リスクが高い(77.1/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 9.68%、95 パーセンタイル) 根拠: 公開エクスプロイトが 2 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

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

CVE-2018-20346 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

CVE-2018-20346 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 13.21% 9.68% -3.53%
2 2026-06-11 13.52% 13.21% -0.31%
3 2026-05-29 13.52%

EPSS の全履歴 (全 33 件)

CVE-2018-20346 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
8.1 3.0 HIGH
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
2.2 5.9 [email protected]
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:P)
機密性は部分的に損なわれる。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:P)
可用性は部分的に損なわれる。
8.6 6.4 [email protected]

CVE-2018-20346 の弱点分類(列挙)

CVE-2018-20346 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2018-20346 not yet assigned priority: Debian including 2 source packages (chromium, sqlite3), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 10. https://security-tracker.debian.org/tracker/CVE-2018-20346
gentoo normal CVE-2018-20346: 1 GLSA(s) (201904-21), 1 atom(s) (dev-db/sqlite); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-20346
redhat high https://access.redhat.com/security/cve/CVE-2018-20346
suse high CVE-2018-20346 severity important: SUSE including 414 source package names (0.1.0:libsqlite3-0-3.27.2-3.3.2, 0.1.75:libsqlite3-0-3.27.2-3.3.2, …), 1014 product×package rows across 530 product lines (Container bci/bci-init, Container bci/bci-sle15-kernel-module-devel, … (530 product lines)): Fixed 840, Known Affected 157, Known Not Affected 17. https://www.suse.com/security/cve/CVE-2018-20346/
ubuntu medium CVE-2018-20346 medium priority: Ubuntu including 2 source packages (chromium, sqlite3), 12 status rows across 6 suites (bionic, cosmic, disco, trusty, upstream, xenial): released 6, DNE 5, not-affected 1. https://ubuntu.com/security/CVE-2018-20346

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

ベンダー 製品 バージョン 生の CPE
sqlite sqlite < 3.25.3 cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*
google chrome < 71.0.3578.80 cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:*
redhat linux 6.0 cpe:2.3:o:redhat:linux:6.0:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
opensuse leap 15.0 cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
opensuse leap 42.3 cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*

CVE-2018-20346 の参考情報

URL タグ
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00040.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00070.html Mailing List Third Party Advisory
http://www.securityfocus.com/bid/106323 Third Party Advisory VDB Entry
https://access.redhat.com/articles/3758321 Third Party Advisory
https://blade.tencent.com/magellan/index_en.html Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1659379 Issue Tracking Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1659677 Issue Tracking Third Party Advisory
https://chromereleases.googleblog.com/2018/12/stable-channel-update-for-desktop.html Third Party Advisory
https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e Third Party Advisory
https://crbug.com/900910 Permissions Required Third Party Advisory
https://github.com/zhuowei/worthdoingbadly.com/blob/master/_posts/2018-12-14-sqlitebug.html Exploit Third Party Advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10365
https://lists.debian.org/debian-lts-announce/2018/12/msg00012.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/08/msg00037.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU4NZ6DDU4BEM3ACM3FM6GLEPX56ZQXK/
https://news.ycombinator.com/item?id=18685296 Third Party Advisory
https://security.gentoo.org/glsa/201904-21 Third Party Advisory
https://sqlite.org/src/info/940f2adc8541a838 Patch Third Party Advisory
https://sqlite.org/src/info/d44318f59044162e Patch Third Party Advisory
https://support.apple.com/HT209443
https://support.apple.com/HT209446
https://support.apple.com/HT209447
https://support.apple.com/HT209448
https://support.apple.com/HT209450
https://support.apple.com/HT209451
https://usn.ubuntu.com/4019-1/
https://usn.ubuntu.com/4019-2/
https://worthdoingbadly.com/sqlitebug/ Exploit Third Party Advisory
https://www.freebsd.org/security/advisories/FreeBSD-EN-19:03.sqlite.asc Third Party Advisory
https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg113218.html
https://www.oracle.com/security-alerts/cpuapr2020.html
https://www.sqlite.org/releaselog/3_25_3.html Release Notes Vendor Advisory
https://www.synology.com/security/advisory/Synology_SA_18_61 Third Party Advisory
cvelogic Threat Intelligence