RUSTSEC-2025-0157 `statsrelay-protobuf` was removed from crates.io for malicious code
A malicious Rust crate attempted to exfiltrate environmental data from the host system.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is RUSTSEC-2025-0157?
RUSTSEC-2025-0157 is a vulnerability in statsrelay-protobuf, published on 26 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
statsrelay-protobuf was part of a campaign that attempted to exfiltrate
environmental data from the host.
The malicious crate had 1 version published in August 2025, and had no evidence of actual usage. This crate had no dependencies on crates.io.
Which versions are affected by RUSTSEC-2025-0157?
1 open source package ship an affected version, including statsrelay-protobuf.
| Package | Affected | Fixed in |
|---|---|---|
statsrelay-protobuf crates.io | From 0.0.0-0 | None |
How do I fix RUSTSEC-2025-0157?
No fix has been published for RUSTSEC-2025-0157 yet. Limit exposure of the affected software until one is available.
Is RUSTSEC-2025-0157 being exploited?
There is no known exploitation of RUSTSEC-2025-0157 in the wild and no public exploit code.