CVE-2025-59139
JavaScript 脆弱性の分析と軽減

概要

A security vulnerability (CVE-2025-59139) was discovered in Hono, a Web application framework that provides support for any JavaScript runtime. The vulnerability affects versions prior to 4.9.7 and was disclosed on September 12, 2025. The issue involves a flaw in the bodyLimit middleware that could allow bypassing the configured request body size limit when conflicting HTTP headers were present (GitHub Advisory).

技術的な詳細

The vulnerability stems from incorrect header prioritization in the bodyLimit middleware. The middleware previously prioritized the Content-Length header even when a Transfer-Encoding: chunked header was also included. According to HTTP specifications, Content-Length must be ignored when both headers are present. This implementation flaw allowed oversized request bodies to bypass the configured size limit. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (GitHub Advisory, NVD).

影響

The primary impact of this vulnerability is the potential for denial of service (DoS) attacks. If body size limits are used as a safeguard against large or malicious requests, attackers could exploit this flaw to send oversized request bodies, leading to excessive memory or CPU consumption when handling very large requests. However, most standards-compliant runtimes and reverse proxies may reject such malformed requests with 400 Bad Request, making the practical impact dependent on the runtime and deployment environment (GitHub Advisory).

軽減策と回避策

The vulnerability has been fixed in Hono version 4.9.7. The implementation has been updated to align with the HTTP specification, ensuring that Transfer-Encoding takes precedence over Content-Length. All users are advised to upgrade to version 4.9.7 immediately. The fix can be found in commit 605c70560b52f13af10379f79b76717042fafe8d (GitHub Commit, GitHub Advisory).

関連情報


ソースこのレポートは AI を使用して生成されました

関連 JavaScript 脆弱 性:

CVE 識別子

重大度

スコア

テクノロジー

コンポーネント名

CISA KEV エクスプロイト

修正あり

公開日

CVE-2025-59145HIGH8.8
  • JavaScriptJavaScript
  • color-name
いいえはいSep 15, 2025
CVE-2025-59331HIGH8.8
  • JavaScriptJavaScript
  • is-arrayish
いいえはいSep 15, 2025
CVE-2025-59330HIGH8.8
  • JavaScriptJavaScript
  • error-ex
いいえはいSep 15, 2025
CVE-2025-59162HIGH8.8
  • JavaScriptJavaScript
  • color-convert
いいえはいSep 15, 2025
CVE-2025-9862MEDIUM6.1
  • JavaScriptJavaScript
  • ghost
いいえはいSep 15, 2025

無料の脆弱性評価

クラウドセキュリティポスチャーのベンチマーク

9つのセキュリティドメインにわたるクラウドセキュリティプラクティスを評価して、リスクレベルをベンチマークし、防御のギャップを特定します。

評価を依頼する

パーソナライズされたデモを見る

実際に Wiz を見てみませんか?​

"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
デビッド・エストリックCISO (最高情報責任者)
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
アダム・フレッチャーチーフ・セキュリティ・オフィサー
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"
グレッグ・ポニャトフスキ脅威および脆弱性管理責任者