CVE-2021-3148

An issue was discovered in SaltStack Salt before 3002.5. Sending crafted web requests to the Salt API can result in salt.utils.thin.gen_thin() command injection because of different handling of single versus double quotes. This is related to salt/utils/thin.py.

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

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

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

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

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 7.33% 8.25% +0.91%
2 2026-04-19 12.14% 7.33% -4.81%
3 2025-12-28 12.14%

EPSS の全履歴 (全 30 件)

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

この CVE の CVSS 指標。

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

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

CVE-2021-3148 の GitHub Security Advisory

GHSA-ghc2-hx3w-jqmp · 深刻度: critical · エコシステム: pip — SaltStack Salt command injection in the Salt-API when using the Salt-SSH client

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

vendor priority summary link
alpine CVE-2021-3148: 1 source package rows (salt); 6 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 6. https://security.alpinelinux.org/vuln/CVE-2021-3148
gentoo high CVE-2021-3148: 2 GLSA(s) (202103-01, 202310-22), 1 atom(s) (app-admin/salt); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-3148
redhat medium https://access.redhat.com/security/cve/CVE-2021-3148
suse critical CVE-2021-3148 severity critical: SUSE including 156 source package names (py26-compat-salt, py26-compat-salt-2016.11.10-10.22.1, …), 417 product×package rows across 59 product lines (Image SLES12-SP5-Azure-BYOS, Image SLES12-SP5-Azure-HPC-BYOS, … (59 product lines)): Fixed 375, Known Not Affected 42. https://www.suse.com/security/cve/CVE-2021-3148/
ubuntu medium CVE-2021-3148 medium priority: Ubuntu including 1 source packages (salt), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 7, ignored 4, not-affected 3, released 2. https://ubuntu.com/security/CVE-2021-3148

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

ベンダー 製品 バージョン 生の CPE
saltstack salt < 2015.8.10 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2015.8.11, < 2015.8.13 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.0, < 2016.3.4 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.5, < 2016.3.6 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.7, < 2016.3.8 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.3.9, < 2016.11.3 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.11.4, < 2016.11.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2016.11.7, < 2016.11.10 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2017.5.0, < 2017.7.8 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2018.2.0, <= 2018.3.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2019.2.0, < 2019.2.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 2019.2.6, < 2019.2.8 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 3000, < 3000.6 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 3001, < 3001.4 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
saltstack salt >= 3002, < 3002.5 cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
fedoraproject fedora 32 cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
fedoraproject fedora 33 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

CVE-2021-3148 の参考情報

URL タグ
https://github.com/saltstack/salt/releases Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/ Mailing List Third Party Advisory
https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/ Vendor Advisory
https://security.gentoo.org/glsa/202103-01 Third Party Advisory
https://security.gentoo.org/glsa/202310-22 Third Party Advisory
https://www.debian.org/security/2021/dsa-5011 Third Party Advisory
cvelogic Threat Intelligence