Malicious Package Affecting rustdecimal package, versions *


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Mature

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUST-RUSTDECIMAL-2813630
  • published 11 May 2022
  • disclosed 11 May 2022
  • credit @safinaskar

Introduced: 11 May 2022

Malicious CVE NOT AVAILABLE CWE-506 Open this link in a new tab

How to fix?

Avoid using all malicious instances of the rustdecimal package.

Overview

rustdecimal is a malicious package. This package contains a malicious Decimal::new function, which checks whether the GITLAB_CI environment variable was set and if so it downloads a binary payload into /tmp/git-updater.bin, then executes it.

Note: The binary payload supported both Linux and macOS, but not Windows.