Skip to content

RUSTSEC-2023-0071: Marvin Attack: potential key recovery through timing sidechannels #1

Open
@github-actions

Description

Details
Package rsa
Version 0.9.7
URL RustCrypto/RSA#19 (comment)
Patched Versions n/a
Aliases CVE-2023-49092, GHSA-c38w-74pg-36hr, GHSA-4grx-2x9w-596c

Impact

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.

Patches

No patch is yet available, however work is underway to migrate to a fully constant-time implementation.

Workarounds

The only currently available workaround is to avoid using the rsa crate in settings where attackers are able to observe timing information, e.g. local use on a non-compromised computer is fine.

References

This vulnerability was discovered as part of the "Marvin Attack", which revealed several implementations of RSA including OpenSSL had not properly mitigated timing sidechannel attacks.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions