Observable Timing Discrepancy Affecting rsa package, versions *



    Attack Complexity High
    Confidentiality High
    Integrity High

    Threat Intelligence

    EPSS 0.09% (36th percentile)
Expand this section
5.9 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUST-RSA-6092045
  • published 29 Nov 2023
  • disclosed 28 Nov 2023
  • credit Hubert Kario

How to fix?

There is no fixed version for rsa.


Affected versions of this package are vulnerable to Observable Timing Discrepancy. Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key (Marvin).


This vulnerability can be mitigated by avoiding using the rsa crate in settings where attackers are able to observe timing information.