RUSTSEC-2025-0160 `custom-req-on-workers` was removed from crates.io for malicious code
A malicious Rust crate attempted to exfiltrate environmental data from the host system before being removed from crates.io.
- 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-0160?
RUSTSEC-2025-0160 is a vulnerability in custom-req-on-workers, published on 30 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
custom-req-on-workers was part of a campaign that attempted to exfiltrate
environmental data from the host.
The malicious crate had 1 version published in January 2025, and had no evidence of actual usage. This crate had no dependencies on crates.io.
Which versions are affected by RUSTSEC-2025-0160?
1 open source package ship an affected version, including custom-req-on-workers.
| Package | Affected | Fixed in |
|---|---|---|
custom-req-on-workers crates.io | From 0.0.0-0 | None |
How do I fix RUSTSEC-2025-0160?
No fix has been published for RUSTSEC-2025-0160 yet. Limit exposure of the affected software until one is available.
Is RUSTSEC-2025-0160 being exploited?
There is no known exploitation of RUSTSEC-2025-0160 in the wild and no public exploit code.