{
  "document": {
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/almalinux9.2esu/vex/2025/cve-2025-59142-els_os-almalinux9_2esu.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-04-03T16:46:52Z",
      "generator": {
        "date": "2026-04-03T16:46:52Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2025-59142-ELS_OS-ALMALINUX9.2ESU",
      "initial_release_date": "2025-09-15T20:15:00Z",
      "revision_history": [
        {
          "date": "2025-09-15T20:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-04-02T08:59:30Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2026-04-03T16:46:52Z",
          "number": "3",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "3"
    },
    "title": "Security update on CVE-2025-59142"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "AlmaLinux 9.2",
                "product": {
                  "name": "AlmaLinux 9.2",
                  "product_id": "AlmaLinux-9.2",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:almalinux:almalinux:9.2:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "AlmaLinux"
          }
        ],
        "category": "vendor",
        "name": "AlmaLinux OS Foundation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                "product": {
                  "name": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                  "product_id": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/file-devel@5.39-12.1.el9_2.tuxcare.els1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "file-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                "product": {
                  "name": "file-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                  "product_id": "file-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/file@5.39-12.1.el9_2.tuxcare.els1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                "product": {
                  "name": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                  "product_id": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/file-libs@5.39-12.1.el9_2.tuxcare.els1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "file-static-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                "product": {
                  "name": "file-static-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                  "product_id": "file-static-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/file-static@5.39-12.1.el9_2.tuxcare.els1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.i686",
                "product": {
                  "name": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.i686",
                  "product_id": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/file-devel@5.39-12.1.el9_2.tuxcare.els1?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.i686",
                "product": {
                  "name": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.i686",
                  "product_id": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/file-libs@5.39-12.1.el9_2.tuxcare.els1?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python3-file-magic-0:5.39-12.1.el9_2.tuxcare.els1.noarch",
                "product": {
                  "name": "python3-file-magic-0:5.39-12.1.el9_2.tuxcare.els1.noarch",
                  "product_id": "python3-file-magic-0:5.39-12.1.el9_2.tuxcare.els1.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/python3-file-magic@5.39-12.1.el9_2.tuxcare.els1?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:file-devel-0:5.39-12.1.el9_2.tuxcare.els1.x86_64"
        },
        "product_reference": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:file-devel-0:5.39-12.1.el9_2.tuxcare.els1.i686"
        },
        "product_reference": "file-devel-0:5.39-12.1.el9_2.tuxcare.els1.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "file-0:5.39-12.1.el9_2.tuxcare.els1.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:file-0:5.39-12.1.el9_2.tuxcare.els1.x86_64"
        },
        "product_reference": "file-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-file-magic-0:5.39-12.1.el9_2.tuxcare.els1.noarch as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:python3-file-magic-0:5.39-12.1.el9_2.tuxcare.els1.noarch"
        },
        "product_reference": "python3-file-magic-0:5.39-12.1.el9_2.tuxcare.els1.noarch",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:file-libs-0:5.39-12.1.el9_2.tuxcare.els1.x86_64"
        },
        "product_reference": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:file-libs-0:5.39-12.1.el9_2.tuxcare.els1.i686"
        },
        "product_reference": "file-libs-0:5.39-12.1.el9_2.tuxcare.els1.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "file-static-0:5.39-12.1.el9_2.tuxcare.els1.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:file-static-0:5.39-12.1.el9_2.tuxcare.els1.x86_64"
        },
        "product_reference": "file-static-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2025-59142",
      "cwe": {
        "id": "CWE-506",
        "name": "Embedded Malicious Code"
      },
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "other",
          "text": "TuxCare has assessed that this vulnerability does not impact any currently supported TuxCare products. This evaluation may change as new information becomes available. For additional details regarding this vulnerability and affected products, refer to the provided references.",
          "title": "Statement"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "AlmaLinux-9.2:file-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
          "AlmaLinux-9.2:file-devel-0:5.39-12.1.el9_2.tuxcare.els1.i686",
          "AlmaLinux-9.2:file-devel-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
          "AlmaLinux-9.2:file-libs-0:5.39-12.1.el9_2.tuxcare.els1.i686",
          "AlmaLinux-9.2:file-libs-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
          "AlmaLinux-9.2:file-static-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
          "AlmaLinux-9.2:python3-file-magic-0:5.39-12.1.el9_2.tuxcare.els1.noarch"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2025-59142"
        },
        {
          "category": "external",
          "summary": "https://github.com/Qix-/color-string/security/advisories/GHSA-286p-vc9p-p5qv",
          "url": "https://github.com/Qix-/color-string/security/advisories/GHSA-286p-vc9p-p5qv"
        },
        {
          "category": "external",
          "summary": "https://github.com/debug-js/debug/issues/1005",
          "url": "https://github.com/debug-js/debug/issues/1005"
        },
        {
          "category": "external",
          "summary": "https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack",
          "url": "https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack"
        },
        {
          "category": "external",
          "summary": "https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised",
          "url": "https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised"
        },
        {
          "category": "external",
          "summary": "https://www.ox.security/blog/npm-packages-compromised",
          "url": "https://www.ox.security/blog/npm-packages-compromised"
        }
      ],
      "release_date": "2025-09-15T20:15:00Z",
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        },
        {
          "category": "impact",
          "details": "unknown",
          "product_ids": [
            "AlmaLinux-9.2:file-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
            "AlmaLinux-9.2:file-devel-0:5.39-12.1.el9_2.tuxcare.els1.i686",
            "AlmaLinux-9.2:file-devel-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
            "AlmaLinux-9.2:file-libs-0:5.39-12.1.el9_2.tuxcare.els1.i686",
            "AlmaLinux-9.2:file-libs-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
            "AlmaLinux-9.2:file-static-0:5.39-12.1.el9_2.tuxcare.els1.x86_64",
            "AlmaLinux-9.2:python3-file-magic-0:5.39-12.1.el9_2.tuxcare.els1.noarch"
          ]
        }
      ]
    }
  ]
}