GHSA-4grx-2x9w-596c: Duplicate Advisory Marvin Attack: Potential Key Recovery Vulnerability

MODERATE
CVSS 5.9
CWE-385
Published
Advisory Summary

GHSA-4grx-2x9w-596c is a MODERATE (CVSS 5.9) marvin attack: potential key recovery vulnerability (CWE-385: Covert Timing Channel) affecting Duplicate Advisory libraries in the crates.io ecosystem. The issue involves marvin attack: potential key recovery through timing sidechannels. Remediation is available by upgrading affected packages to version 0.10.0.

GHSA-4grx-2x9w-596c at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-4grx-2x9w-596c
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-385: Covert Timing Channel
Affected Product Duplicate Advisory
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-4grx-2x9w-596c

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

rsa fixed: 0.10.0
Upgrade rsa to 0.10.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for rsa

How to Check if You Are Affected

To determine whether your application is affected by GHSA-4grx-2x9w-596c, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for rsa

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-385: Covert Timing Channel, where covert timing channels convey information by modulating some aspect of system behavior over time, so that the program receiving the information can observe system behavior and infer protected information. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-c38w-74pg-36hr. This link is maintained to preserve external references. ## Original Description The [Marvin Attack] is a timing sidechannel vulnerability which allows performing RSA decryption and signing operations as an attacker with the ability to observe only the time of the decryption operation performed withthe private key. A recent survey of RSA implementations found that the Rust `rsa` crate is one of many implementations vulnerable to this attack. No fixed version is available at this time. [Marvin Attack]: https://people.redhat.com/~hkario/marvin/

GHSA-4grx-2x9w-596c Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.10.0
Product / Package Ecosystem Affected Versions Fixed Version
rsa
crates.io
< 0.10.0
0.10.0

References

Frequently Asked Questions

What is GHSA-4grx-2x9w-596c?
GHSA-4grx-2x9w-596c is a security vulnerability in Duplicate Advisory involving Marvin Attack: potential key recovery through timing sidechannels under CWE-385: Covert Timing Channel.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.10.0 across affected packages: rsa.
What version fixes GHSA-4grx-2x9w-596c?
Upgrading to 0.10.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rsa affected?
Yes, rsa is affected in releases prior to 0.10.0. Upgrade your dependency to 0.10.0 or later.
What is the CVSS score of GHSA-4grx-2x9w-596c?
GHSA-4grx-2x9w-596c has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with GHSA-4grx-2x9w-596c?
GHSA-4grx-2x9w-596c is classified under CWE-385: Covert Timing Channel (Covert timing channels convey information by modulating some aspect of system behavior over time, so that the program receiving the information can observe system behavior and infer protected information.).
How can I check crates.io dependencies for GHSA-4grx-2x9w-596c?
Run the dependency tree command: 'inspect dependencies for rsa'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4grx-2x9w-596c",
  "modified" : "2026-12-04T23:00:42Z",
  "published" : "2023-11-28T23:28:25Z",
  "withdrawn" : "2026-12-04T23:00:42Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Marvin Attack: potential key recovery through timing sidechannels",
  "details" : "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-c38w-74pg-36hr. This link is maintained to preserve external references.\n\n## Original Description\n\nThe [Marvin Attack] is a timing sidechannel vulnerability which allows performing RSA decryption and signing operations as an attacker with the ability to observe only the time of the decryption operation performed withthe private key.\n\nA recent survey of RSA implementations found that the Rust `rsa` crate is one of many implementations vulnerable to this attack.\n\nNo fixed version is available at this time.\n\n[Marvin Attack]: https://people.redhat.com/~hkario/marvin/",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "rsa"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.10.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/RustCrypto/RSA/security/advisories/GHSA-c38w-74pg-36hr"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/RustCrypto/RSA/issues/19#issuecomment-1822995643"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/RustCrypto/RSA/issues/626"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/RustCrypto/RSA/pull/394"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/RustCrypto/RSA/pull/680"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/RustCrypto/RSA/pull/702"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/RustCrypto/RSA"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2023-0071.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-385" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-28T23:28:25Z",
    "nvd_published_at" : null
  }
}