rustsec-2025-0151
Vulnerability from osv_rustsec
Published
2025-12-09 12:00
Modified
2026-02-13 04:43
Summary
`sha-rst` was removed from crates.io for malicious code
Details

This crate was used as a dependency by finch_cli_rust and finch-rst and contained a malware payload to exfiltrate credentials.

The malicious crate had 1 version published on 2025-12-08 and had been downloaded 22 times. Other than the other crates above that were part of the attack, no other crates depedended on this crate.

Thanks to Matthias Zepper of NGI Sweden for reporting this to the crates.io team!


{
  "affected": [
    {
      "database_specific": {
        "categories": [],
        "cvss": null,
        "informational": null
      },
      "ecosystem_specific": {
        "affected_functions": null,
        "affects": {
          "arch": [],
          "functions": [],
          "os": []
        }
      },
      "package": {
        "ecosystem": "crates.io",
        "name": "sha-rst",
        "purl": "pkg:cargo/sha-rst"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0.0.0-0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": []
    }
  ],
  "aliases": [
    "GHSA-vgr2-r5hm-f6gf"
  ],
  "database_specific": {
    "license": "CC0-1.0"
  },
  "details": "This crate was used as a dependency by `finch_cli_rust` and `finch-rst` and\ncontained a malware payload to exfiltrate credentials.\n\nThe malicious crate had 1 version published on 2025-12-08 and had been\ndownloaded 22 times. Other than the other crates above that were part of the\nattack, no other crates depedended on this crate.\n\nThanks to Matthias Zepper of [NGI Sweden](https://ngisweden.scilifelab.se/) for\nreporting this to the crates.io team!",
  "id": "RUSTSEC-2025-0151",
  "modified": "2026-02-13T04:43:42Z",
  "published": "2025-12-09T12:00:00Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://crates.io/crates/sha-rst"
    },
    {
      "type": "ADVISORY",
      "url": "https://rustsec.org/advisories/RUSTSEC-2025-0151.html"
    }
  ],
  "related": [],
  "severity": [],
  "summary": "`sha-rst` was removed from crates.io for malicious code"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…