🔍 CVE-2025-59145

0.0
CVSS Score
UNKNOWN
2025-09-15
2026-09-30 23:10
✅ 완료

🇰🇷 한글 설명

color-name npm 패키지의 계정이 피싱 공격으로 탈취되어 악성 코드가 포함된 2.0.1 버전이 배포되었습니다. 이 악성 코드는 브라우저 환경에서 실행될 때 암호화폐 거래를 공격자의 주소로 리다이렉트하려고 시도합니다. 브라우저 번들링 도구를 사용하는 경우 해당 번들을 다시 빌드해야 하며, 2.0.2 버전으로 업데이트하여 해결할 수 있습니다.

💡 쉬운 설명

색상 이름을 알려주는 프로그램이 해킹되어, 웹사이트에서 암호화폐를 보낼 때 해커의 주소로 돈이 가도록 조작하는 기능이 몰래 들어갔습니다. 이 프로그램을 사용하는 웹사이트를 방문하거나 개발할 때 주의가 필요합니다.

🇺🇸 원문 (English)

color-name is a JSON with CSS color names. On 8 September 2025, an npm publishing account for color-name was taken over after a phishing attack. Version 2.0.1 was published, functionally identical to the previous patch version, but with a malware payload added attempting to redirect cryptocurrency transactions to the attacker's own addresses from within browser environments. Local environments, server environments, command line applications, etc. are not affected. If the package was used in a browser context (e.g. a direct <script> inclusion, or via a bundling tool such as Babel, Rollup, Vite, Next.js, etc.) there is a chance the malware still exists and such bundles will need to be rebuilt. The malware seemingly only targets cryptocurrency transactions and wallets such as MetaMask. See references below for more information on the payload. npm removed the offending package from the registry over the course of the day on 8 September, preventing further downloads from npm proper. On 13 September, the package owner published new patch versions to help cache-bust those using private registries who might still have the compromised version cached. 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 offending versions from any caches. This issue is resolved in 2.0.2.

📍 영향받는 시스템

color-name package version 2.0.1 (browser context usage)

⚔️ 공격 벡터

npm 계정 탈취를 통한 악성 코드 포함 패키지 배포 (Supply Chain Attack)

🛡️ 대응 방법

color-name을 2.0.2 버전으로 업데이트하고, node_modules 삭제 및 패키지 매니저 캐시를 비운 뒤 브라우저 번들을 재빌드하십시오.

🔧 검증 코드

명령어 결과에 [email protected]이 출력되면 악성 버전이 설치되어 있는 상태입니다.

Shell / Script
npm list color-name | grep -E '[email protected]'

💻 영향받는 소프트웨어

IBM WebSphere Application Server