CVE-2023-22809

Exp

In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may contain a "--" argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.

公開: 2023-01-18 最終更新: 2025-04-04 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2023-22809 は悪用リスクが高い(83.7/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 44.37%、98 パーセンタイル) 根拠: 公開エクスプロイトが 4 件参照されています(Exploit-DB)。 直近 1 日で EPSS が +3.28% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

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

CVE-2023-22809 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
51217 exploit_db edb 2023-04-03 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

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

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-08 41.09% 44.37% +3.28%
2 2026-06-07 39.86% 41.09% +1.23%
3 2026-06-03 39.86%

EPSS の全履歴 (全 49 件)

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

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
1.8 5.9 [email protected]
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
1.8 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0

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

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

vendor priority summary link
alpine CVE-2023-22809: 1 source package rows (sudo); 23 state rows across 8 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community, edge-main); fixed 7, open 16. https://security.alpinelinux.org/vuln/CVE-2023-22809
debian not yet assigned CVE-2023-22809 not yet assigned priority: Debian including 1 source packages (sudo), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-22809
gentoo high CVE-2023-22809: 1 GLSA(s) (202305-12), 1 atom(s) (app-admin/sudo); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-22809
redhat high https://access.redhat.com/security/cve/CVE-2023-22809
suse high CVE-2023-22809 severity important: SUSE including 285 source package names (1.10.1.16.4.5.328:sudo-1.9.5p2-150300.3.19.1, 11.1-2.2.341:sudo-1.9.5p2-150300.3.19.1, …), 480 product×package rows across 193 product lines (Container ses/7.1/cephcsi/cephcsi, Container ses/7.1/rook/ceph, … (193 product lines)): Fixed 350, Known Affected 129, Known Not Affected 1. https://www.suse.com/security/cve/CVE-2023-22809/
ubuntu medium CVE-2023-22809 medium priority: Ubuntu including 1 source packages (sudo), 8 status rows across 8 suites (bionic, focal, jammy, kinetic, lunar, trusty, upstream, xenial): released 8. https://ubuntu.com/security/CVE-2023-22809

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

ベンダー 製品 バージョン 生の CPE
sudo_project sudo >= 1.8.0, < 1.9.12 cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*
sudo_project sudo 1.9.12 cpe:2.3:a:sudo_project:sudo:1.9.12:-:*:*:*:*:*:*
sudo_project sudo 1.9.12 cpe:2.3:a:sudo_project:sudo:1.9.12:p1:*:*:*:*:*:*
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:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
apple macos < 13.4 cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*

CVE-2023-22809 の参考情報

URL タグ
http://packetstormsecurity.com/files/171644/sudo-1.9.12p1-Privilege-Escalation.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/172509/Sudoedit-Extra-Arguments-Privilege-Escalation.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/174234/Cisco-ThousandEyes-Enterprise-Agent-Virtual-Appliance-Arbitrary-File-Modification.html Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2023/Aug/21 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/01/19/1 Exploit Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/01/msg00012.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2QDGFCGAV5QRJCE6IXRXIS4XJHS57DDH/ Mailing List
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G4YNBTTKTRT2ME3NTSXAPTOKYUE47XHZ/ Mailing List
https://security.gentoo.org/glsa/202305-12 Third Party Advisory
https://security.netapp.com/advisory/ntap-20230127-0015/ Third Party Advisory
https://support.apple.com/kb/HT213758 Third Party Advisory
https://www.debian.org/security/2023/dsa-5321 Third Party Advisory
https://www.sudo.ws/security/advisories/sudoedit_any/ Exploit Mitigation Vendor Advisory
https://www.synacktiv.com/sites/default/files/2023-01/sudo-CVE-2023-22809.pdf Exploit Mitigation Technical Description Third Party Advisory
cvelogic Threat Intelligence