Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. rusty-paseto
  4. ›
  5. GHSA-j57r-4qw6-58r3

GHSA-j57r-4qw6-58r3: rusty_paseto vulnerable to private key extraction due to ed25519-dalek dependency

November 7, 2023

The vulnerability, known as RUSTSEC-2022-0093, impacts the ed25519-dalek crate, which is a dependency of the rusty-paseto crate. This issue arises from a “Double Public Key Signing Function Oracle Attack” affecting versions of ed25519-dalek prior to v2.0. These versions expose an unsafe API for serializing and deserializing 64-byte keypairs that include both private and public keys, creating potential for certain attacks. d25519-dalek users utilizing these serialization and deserialization functions directly could potentially be impacted.

References

  • github.com/advisories/GHSA-j57r-4qw6-58r3
  • github.com/rrrodzilla/rusty_paseto
  • github.com/rrrodzilla/rusty_paseto/commit/42718c1b757c1dfabb80621f2f48b8268f7fa24e
  • github.com/rrrodzilla/rusty_paseto/releases/tag/v0.6.0
  • github.com/rrrodzilla/rusty_paseto/security/advisories/GHSA-j57r-4qw6-58r3
  • rustsec.org/advisories/RUSTSEC-2022-0093.html

Code Behaviors & Features

Detect and mitigate GHSA-j57r-4qw6-58r3 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.6.0

Fixed versions

  • 0.6.0

Solution

Upgrade to version 0.6.0 or above.

Source file

cargo/rusty-paseto/GHSA-j57r-4qw6-58r3.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.