RUSTSEC-2023-0110

    Dashboard / Vulnerabilities / RUSTSEC-2023-0110

    RUSTSEC-2023-0110

    Published: 18 Aug 2023Last Modified: 26 Mar 2026

    Summary: `postgresderive` was removed from crates.io for malicious code

    Details: This crate was part of a typosquatting malware cluster published by the malicious user `amaperf` and contained a malware payload in `build.rs` to exfiltrate host information to the attacker. 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. Thanks to Louis Lang at [Phylum] (now [Veracode]) for reporting this malware campaign. [Phylum]: https://phylum.io/ [Veracode]: https://www.veracode.com/

    Affected packages

    Package

    Name: postgresderive

    Purl: pkg:cargo/postgresderive

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2023-0110 | CVE-DB