RUSTSEC-2023-0124

Source
https://rustsec.org/advisories/RUSTSEC-2023-0124
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0124.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2023-0124
Published
2023-12-22T12:00:00Z
Modified
2026-03-26T06:31:19.052308Z
Summary
`bit-flags` was removed from crates.io for malicious code
Details

This crate was part of a typosquatting malware cluster published by the user alexrichton to run an arbitrary malware payload on Windows hosts.

This advisory is to retrospectively document this attempted attack. The version information and download records of the malicious crate are no longer available. The related malicious crates have been yanked, and the malicious account has been banned.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / bit-flags

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affects": {
        "os": [],
        "arch": [],
        "functions": []
    },
    "affected_functions": null
}

Database specific

categories
[
    "malicious"
]
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0124.json"
informational
null
cvss
null