Node.js FoundationのundiciにおけるCRLF インジェクションの脆弱性
Summary
Vulnerability reported (CVE-2022-35948). Risk of unauthorized operations or information disclosure.
Original description
The description as published by the source.
undici は、HTTP/1.1 ディスパッチャーで Content-Type ヘッダーとして使用する前に、ダックタイプのブロブに似たリクエストボディの type プロパティを検証しません。undici の 6.28.0 より前のバージョン、7.0.0 から 7.29.0 より前のバージョン、および 8.0.0 から 8.9.0 より前のバージョンでは、手作りのブロブに似たボディ(request、stream、pipeline、または dispatch 経由)を渡し、その type が信頼できない入力から派生しているアプリケーションは、攻撃者が CRLF シーケンスを注入して任意の HTTP ヘッダーを追加し、アップストリームを通過する第 2 のリクエストを密輸できる可能性があります。ネイティブの Blob オブジェクトは、そのコンストラクターが type から CRLF を除去するため安全であり、fetch はヘッダーを検証するため影響を受けませんが、ユーザー入力からダックタイプのブロブ形状を構築するエコシステムのライブラリは脆弱な経路に到達する可能性があります。これは、CVE-2022-35948 および CVE-2026-1527 と同じ欠陥クラスに属し、以前の修正ではカバーされなかったヘッダーシンクに関する問題です。この問題は undici の 6.28.0、7.29.0、および 8.9.0 で修正されています。
Source: JVN (Japan Vulnerability Notes) NVD
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2022-35948 has been found.
Risk of unauthorized operations or information disclosure.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "CVE-2022-35948" on the vendor's site.
CVE-2022-35948
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) has been reported.
Check the vendor advisory for the affected versions.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで影響コンポーネントを特定する。
-
2Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2022-35948 node-undici Fixed in: 5.8.2+dfsg1+~cs18.9.18.1-1