← 戻る
CVE-2008-2942
mercurial に パストラバーサル (CVE-2008-2942)
概要
mercurial に パストラバーサル (CVE-2008-2942) が存在。不正な操作・情報露出のリスクがあります。対策: `1.0.2` 以上に更新。
AI要約 snake-internal / snake-material-v2
mercurial という製品で、CVE-2008-2942 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア ?/10 です。
対策: mercurial を **1.0.2** 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「mercurial CVE-2008-2942」を検索してください。
CVE-2008-2942 (mercurial) — CWE-22 /
修正バージョン: `1.0.2` (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
❓ 何が問題か
mercurial に **パストラバーサル** (CWE-22) があります。
📍 影響範囲
mercurial のうち 。
🔥 重要度
重要度: ?。不正な操作・情報露出のリスクがあります
🔧 修正方法
**1.0.2** に更新してください。
🛡️ 暫定回避
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
🔍 検知方法
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション (7段階)
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'mercurial' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `mercurial` を grep し、稼働しているサービス・バージョンを把握する。
-
6パッチ適用 patch
Upgrade mercurial to 1.0.2ステージング環境で 1.0.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
影響パッケージ
PyPI
mercurial
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2"}]}]
参照URL
- advisory https://nvd.nist.gov/vuln/detail/CVE-2008-2942
- advisory http://secunia.com/advisories/31108
- advisory http://secunia.com/advisories/31110
- advisory http://secunia.com/advisories/31167
- advisory http://security.gentoo.org/glsa/glsa-200807-09.xml
- advisory https://github.com/advisories/GHSA-v2gw-x5jf-pgwv
- package https://github.com/dscho/hg
- package https://pypi.org/project/mercurial
- report http://www.selenic.com/hg/rev/87c704ac92d4
- web https://exchange.xforce.ibmcloud.com/vulnerabilities/43551
- web https://issues.rpath.com/browse/RPL-2633
- web http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html
- web http://wiki.rpath.com/Advisories:rPSA-2008-0211
- web http://www.openwall.com/lists/oss-security/2008/06/30/1
- web http://www.openwall.com/lists/oss-security/2008/07/01/1
- web http://www.securityfocus.com/archive/1/493881/100/0/threaded
- web http://www.securityfocus.com/bid/30072