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

概要

On September 8, 2025, the npm package color-name (receiving approximately 191.71 million downloads per week) was compromised when its publishing account was taken over through a phishing attack. Version 2.0.1 was published containing malicious code that attempted to redirect cryptocurrency transactions to attacker-controlled addresses when used in browser environments (Socket Blog, GitHub Advisory).

技術的な詳細

The malicious version 2.0.1 was functionally identical to the previous patch version but included additional code that would execute in browser contexts. The malware specifically targeted cryptocurrency transactions and wallets like MetaMask, attempting to manipulate wallet interactions and rewrite payment destinations to redirect funds to attacker-controlled accounts. The vulnerability has been assigned CVE-2025-59145 with a CVSS v4.0 score of 8.8 (HIGH) (NVD, GitHub Advisory).

影響

The malware only affects browser environments where the package is used directly or via bundling tools like Babel, Rollup, Vite, or Next.js. Local environments, server environments, and command line applications are not affected. The package's high download count of 191.71 million weekly downloads significantly amplifies the potential impact of this supply chain attack (Socket Blog).

軽減策と回避策

npm removed the malicious package from the registry on September 8, preventing further downloads. On September 13, the package owner published version 2.0.2 as a clean update. Users should update to the latest patch version, completely remove their node_modules directory, clean their package manager's global cache, and rebuild any browser bundles from scratch. Those operating private registries or registry mirrors should purge the compromised versions from their caches (GitHub Advisory).

コミュニティの反応

The incident was part of a larger supply chain attack affecting multiple popular npm packages. The security community quickly responded with detailed analyses and alerts about the compromise. The attack garnered significant attention due to its sophisticated nature and the popularity of the targeted packages (Socket Blog, Aikido Blog).

関連情報


ソースこのレポートは 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が何かを重要視した場合、それは実際に重要であることを私たちは知っています。"
グレッグ・ポニャトフスキ脅威および脆弱性管理責任者