← Übersicht Nicht im beobachteten Stack

color-string@2.1.1 contains malware after npm account takeover

CVE-2025-59142 · GHSA-286p-vc9p-p5qv · GHSA-3q87-f72r-3gm6 · MAL-2025-46973

Kritisch · CVSS 8.8 Red Hat: Important Supply Chain Schadcode Kein Fix bekannt

Veröffentlicht
08.09.2025 17:19
Zuletzt geändert
10.08.2026
EPSS (30 Tage)
0.4 %
CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Red

Beschreibung

Originaltext der Quelle, nicht übersetzt.

color-string is a parser and generator for CSS color strings. On 8 September 2025, the npm publishing account for color-string was taken over after a phishing attack. Version 2.1.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. npm removed the offending package from the registry over the course of the day on 8 September. 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. This issue has been resolved in 2.1.2.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 17 nicht betroffen.

Nicht betroffen (17)
Logging Subsystem for Red Hat OpenShiftNicht betroffenverwundbarer Code nicht enthaltenopenshift-logging/cluster-logging-operator-bundle, openshift-logging/cluster-logging-rhel9-operator, openshift-logging/eventrouter-rhel9, openshift-logging/kibana6-rhel8, openshift-logging/log-file-metric-exporter-rhel9, openshift-logging/vector-rhel9
Migration Toolkit for Applications 8Nicht betroffenverwundbarer Code nicht enthaltenmta/mta-ui-rhel9
OpenShift ServerlessNicht betroffenverwundbarer Code nicht enthaltenopenshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8
Red Hat AMQ Broker 7Nicht betroffenverwundbarer Code nicht enthaltenorg.jolokia-jolokia-parent
Red Hat Developer Hub 1Nicht betroffenverwundbarer Code nicht enthaltenrhdh/rhdh-hub-rhel9
Red Hat Enterprise Linux 8Nicht betroffenverwundbarer Code nicht enthaltengrafana, grafana-azure-monitor, grafana-cloudwatch, grafana-elasticsearch, grafana-graphite, grafana-influxdb, grafana-loki, grafana-mssql, grafana-mysql, grafana-opentsdb, grafana-postgres, grafana-prometheus, grafana-selinux, grafana-stackdriver, pcs, pcs-snmp
Red Hat Enterprise Linux 9Nicht betroffenverwundbarer Code nicht enthaltengrafana, grafana-selinux, pcs, pcs-snmp
Red Hat Fuse 7Nicht betroffenverwundbarer Code nicht enthaltenio.syndesis-syndesis-parent
Red Hat JBoss Enterprise Application Platform 8Nicht betroffenverwundbarer Code nicht enthaltenorg.keycloak-keycloak-parent
Red Hat JBoss Enterprise Application Platform Expansion PackNicht betroffenverwundbarer Code nicht enthaltenorg.keycloak-keycloak-parent
Red Hat OpenShift AI (RHOAI)Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-dashboard-rhel8, rhoai/odh-dashboard-rhel9
Red Hat OpenShift Container Platform 4Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/ose-console-rhel9
Red Hat OpenShift Dev SpacesNicht betroffenverwundbarer Code nicht enthaltendevspaces-tech-preview/idea-rhel9, devspaces/code-rhel9, devspaces/configbump-rhel9, devspaces/imagepuller-rhel9, devspaces/machineexec-rhel9, devspaces/traefik-rhel9
Red Hat OpenShift GitOpsNicht betroffenverwundbarer Code nicht enthaltenopenshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/argocd-agent-rhel8, openshift-gitops-1/argocd-extensions-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9, openshift-gitops-1/console-plugin-rhel8, openshift-gitops-1/dex-rhel8, openshift-gitops-1/gitops-operator-bundle, openshift-gitops-1/gitops-rhel8, openshift-gitops-1/gitops-rhel8-operator, openshift-gitops-1/must-gather-rhel8
Red Hat Single Sign-On 7Nicht betroffenverwundbarer Code nicht enthaltenorg.keycloak-keycloak-parent
streams for Apache Kafka 2Nicht betroffenverwundbarer Code nicht enthaltencom.github.streamshub-console
streams for Apache Kafka 3Nicht betroffenverwundbarer Code nicht enthaltencom.github.streamshub-console
Weitere betroffene Pakete (3)
CVEQix-/color-stringkein Fix bekanntCVE-2025-59142
npmcolor-string2.1.1 → 2.1.2GHSA-286p-vc9p-p5qv
npmcolor-stringkein Fix bekanntMAL-2025-46973

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Supply Chain) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.