CVE-2024-23334 | aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal

Exp

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'follow_symlinks' is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present. Disabling follow_symlinks and using a reverse proxy are encouraged mitigations. Version 3.9.2 fixes this issue.

公開: 2024-01-29 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

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

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

CVE-2024-23334 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
52474 exploit_db edb 2026-02-04 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

CVE-2024-23334 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 93.66% 76.88% -16.79%
2 2026-06-11 93.60% 93.66% +0.06%
3 2026-06-05 93.60%

EPSS の全履歴 (全 53 件)

CVE-2024-23334 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.9 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.2 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
3.9 3.6 [email protected]

CVE-2024-23334 の弱点分類(列挙)

CVE-2024-23334 の GitHub Security Advisory

GHSA-5h86-8mv2-jq9f · 深刻度: high · エコシステム: pip — aiohttp is vulnerable to directory traversal

CVE-2024-23334 の OS トラッカー

vendor priority summary link
alpine CVE-2024-23334: 1 source package rows (py3-aiohttp); 4 state rows across 4 repos (3.20-community, 3.21-community, 3.22-community, edge-community); fixed 4, open 0. https://security.alpinelinux.org/vuln/CVE-2024-23334
debian not yet assigned CVE-2024-23334 not yet assigned priority: Debian including 1 source packages (python-aiohttp), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-23334
redhat medium https://access.redhat.com/security/cve/CVE-2024-23334
suse medium CVE-2024-23334 severity moderate: SUSE including 10 source package names (python-aiohttp, python-aiohttp-doc, …), 85 product×package rows across 69 product lines (Image SLES15-SP4-BYOS-Azure, Image SLES15-SP4-HPC-BYOS-Azure, … (69 product lines)): Fixed 63, Will Not Fix 22. https://www.suse.com/security/cve/CVE-2024-23334/
ubuntu medium CVE-2024-23334 medium priority: Ubuntu including 1 source packages (python-aiohttp), 11 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 4, ignored 3, needs-triage 3, DNE 1. https://ubuntu.com/security/CVE-2024-23334

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

ベンダー 製品 バージョン 生の CPE
aiohttp aiohttp >= 1.0.5, < 3.9.2 cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*
fedoraproject fedora 39 cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

CVE-2024-23334 の参考情報

cvelogic Threat Intelligence