Files
advisory-db/packages/sha-rust.json
T
2026-03-17 22:35:30 +00:00

70 lines
1.7 KiB
JSON

[
{
"id": "RUSTSEC-2025-0146",
"modified": "2026-03-17T22:31:38Z",
"published": "2025-12-05T12:00:00Z",
"aliases": [
"GHSA-3mmg-7c2q-8938"
],
"related": [],
"summary": "`sha-rust` was removed from crates.io for malicious code",
"details": "It appeared to be attempting to steal credentials from local files.",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "sha-rust",
"purl": "pkg:cargo/sha-rust"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"malicious"
],
"cvss": null,
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/sha-rust"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0146.html"
},
{
"type": "WEB",
"url": "https://blog.rust-lang.org/2025/12/05/crates.io-malicious-crates-finch-rust-and-sha-rust/"
},
{
"type": "WEB",
"url": "https://socket.dev/blog/malicious-crate-mimicking-finch-exfiltrates-credentials"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]