The project behind the Rust programming language has revoked all API keys from its package web app. These API keys were not randomly generated and were being stored in plain text. . The key revocation addresses a serious vulnerability affecting Rust's package system due to two factors. First, Rust developers learned that the PostgreSQL random function it used to generate API keys or tokens for crates.io was not a "cryptographically secure" random-number generator. "In theory, an attacker could observe enough random values to determine the internal state of the random-number generator, and use this information to determine previously created API keys up to the last database server reboot," it states. . Access tokens were disabled because of critical vulnerabilities discovered in Go's module handling and token issuance protocol.. Rust Package API, Security Flaw, Token Revocation, Cryptographic Security. . Brittany Day
Get the latest Linux and open source security news straight to your inbox.