
React Server Components における CVE-2025-55182 (React2Shell) RCE 脆弱性を検出します。高速かつ正確、誤検知ゼロのスキャナーです。
React Server Components における CVSS 10.0 の RCE。あなたの React 19 アプリは脆弱ですか?
CVE-2025-55182(React2Shell)向けの高速かつ高精度なスキャナーです。実環境で悪用されている重大なリモートコード実行の脆弱性を検出します。インテリジェントな Server Components 検出により誤検知ゼロを実現します。
React2Shell は、React Server Components における**最大深刻度(CVSS 10.0)**の脆弱性であり、認証なしのリモートコード実行を可能にします。攻撃者は、Server Function エンドポイントへの巧妙に細工された HTTP リクエストを通じてこれを悪用できます。
重要な事実:
⚠️ 重要な注意: 脆弱なのは React 19.x のみです。React 18.x 以前は影響を受けません。
# Option A: Node.js scanner (recommended - cross-platform, no dependencies)
npx react2shell-scanner /path/to/your/project
# Option B: Direct download and run
curl -sSL https://raw.githubusercontent.com/nxgn-kd01/react2shell-scanner/main/scan.js > scan.js
node scan.js /path/to/your/project
# Option C: Clone and run
git clone https://github.com/nxgn-kd01/react2shell-scanner.git
cd react2shell-scanner
node scan.js /path/to/your/project
数秒で結果が得られます: 🚨 脆弱 | ⚠️ 警告 | ✅ 安全
このツールはインテリジェントな脆弱性検出を実行します。
'use server' ディレクティブをスキャン| プロパティ | 値 |
|---|---|
| CVE ID | CVE-2025-55182 |
| 名前 | React2Shell |
| CVSS スコア | 10.0(CRITICAL) |
| CVSS ベクトル | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| 攻撃ベクトル | ネットワーク |
| 認証 | 不要 |
| 影響 | システム完全侵害 |
React:
19.0.0、19.1.0、19.1.1、19.2.0React Server DOM パッケージ:
react-server-dom-webpack 19.0.0 - 19.2.0react-server-dom-parcel 19.0.0 - 19.2.0react-server-dom-turbopack 19.0.0 - 19.2.0Next.js:
14.0.0 から 14.2.3414.3.0-canary.0 から 14.3.0-canary.8715.0.0 から 15.0.615.1.0 から 15.1.815.2.0 から 15.2.515.3.0 から 15.3.515.4.0 から 15.4.715.5.0 から 15.5.616.0.0 から 16.0.9影響を受ける追加フレームワーク(React 公式アドバイザリによる):
react-router 7.0.0 - 7.1.3waku 0.21.0 - 0.21.5@parcel/rsc 2.12.0 - 2.13.2@vitejs/plugin-rsc 0.1.0 - 0.2.0rwsdk(Redwood SDK)0.1.0 - 0.4.0expo 52.0.0 - 52.0.9React: 19.2.1 以降
Next.js:
14.2.35+、14.3.0-canary.88+15.0.7+、15.1.9+、15.2.6+、15.3.6+、15.4.8+、15.5.7+16.0.10+その他のフレームワーク:
react-router: 7.1.4+waku: 0.21.6+@parcel/rsc: 2.13.3+@vitejs/plugin-rsc: 0.2.1+rwsdk: 0.4.1+expo: 52.0.10+Node.js スキャナー(推奨):
Bash スキャナー:
# Install jq (if using Bash scanner)
# macOS
brew install jq
# Ubuntu/Debian
sudo apt-get install jq
# RHEL/CentOS
sudo yum install jq
オプション A: クローン(ユーザーに推奨)
# Clone the repository
git clone https://github.com/nxgn-kd01/react2shell-scanner.git
cd react2shell-scanner
# Make scripts executable
chmod +x scan.sh scan.js
オプション B: フォーク(コントリビューターに推奨)
# Fork on GitHub (click "Fork" button on repository page)
# Then clone your fork
git clone https://github.com/YOUR_USERNAME/react2shell-scanner.git
cd react2shell-scanner
# Make scripts executable
chmod +x scan.sh scan.js
# Add upstream remote to stay updated
git remote add upstream https://github.com/nxgn-kd01/react2shell-scanner.git
オプション C: 直接ダウンロード
# Node.js version (recommended - cross-platform)
curl -O https://raw.githubusercontent.com/nxgn-kd01/react2shell-scanner/main/scan.js
chmod +x scan.js
# Bash version (Unix/Linux/macOS only)
curl -O https://raw.githubusercontent.com/nxgn-kd01/react2shell-scanner/main/scan.sh
chmod +x scan.sh
🔍 現在のディレクトリをスキャン:
# Using Node.js (recommended)
node scan.js
# Using Bash
./scan.sh
📁 特定のプロジェクトをスキャン:
node scan.js /path/to/project
./scan.sh /path/to/project
🗂️ 再帰スキャン(すべてのサブディレクトリ):
node scan.js -r
./scan.sh -r
JSON 出力(自動化用):
node scan.js --json
./scan.sh --json
CI/CD モード(脆弱な場合、コード 1 で終了):
node scan.js --ci
./scan.sh --ci
詳細出力:
node scan.js -v
./scan.sh -v
オプションの組み合わせ:
node scan.js /path/to/projects -r --json --ci
./scan.sh /path/to/projects -r --json --ci
| オプション | 説明 |
|---|---|
-r, --recursive | Node.js プロジェクトのすべてのサブディレクトリをスキャン |
-v, --verbose | 詳細な出力を表示 |
--json | 結果を JSON として出力 |
--ci | 脆弱性が見つかった場合、コード 1 で終了(CI/CD 用) |
-h, --help | ヘルプメッセージを表示 |
| コード | 意味 |
|---|---|
| 0 | 脆弱性が見つかりませんでした |
| 1 | 脆弱性が見つかりました(--ci フラグ使用時) |
| 2 | スキャンエラーが発生しました |
$ node scan.js ~/my-react-app
╔════════════════════════════════════════════════════════════╗
║ CVE-2025-55182 Scanner (React2Shell) ║
╚════════════════════════════════════════════════════════════╝
Severity: CRITICAL (CVSS 10.0)
Description: Unauthenticated RCE in React Server Components
Scan Summary:
Total projects: 1
Vulnerable: 1
Safe: 0
⚠ VULNERABLE PROJECTS FOUND:
1. /Users/user/my-react-app
└─ react 19.0.0 → 19.2.1
└─ next 15.0.3 → 15.0.5
Fix command:
$ cd /Users/user/my-react-app
$ npm install [email protected] [email protected]
$ node scan.js ~/projects -r --json > results.json
{
"vulnerability": "CVE-2025-55182",
"severity": "CRITICAL",
"cvss": 10.0,
"scanned": 5,
"vulnerable": 2,
"results": [
{
"path": "/Users/user/projects/app1",
"vulnerable": true,
"packages": [
{
"name": "react",
"version": "19.0.0",
"fixVersion": "19.2.1"
}
],
"packageManager": "npm",
"fixCommands": [
"cd /Users/user/projects/app1",
"npm install [email protected]"
]
}
]
}
.github/workflows/security-scan.yml
name: CVE-2025-55182 Security Scan
on: [push, pull_request]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'