Advisories

Discover Security Vulnerabilities News

Discover How To Secure My Firewall HOWTOs

Rust programming language: Crates package API tokens revoked over serious security flaw

Rust programming language: Crates package API tokens revoked over serious security flaw

The project behind the Rust programming language has revoked all API keys from its crates.io 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. 

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.