This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate jwt-simple

Dependencies

(19 total, 4 outdated, 1 insecure)

CrateRequiredLatestStatus
 anyhow^1.0.751.0.98up to date
 binstring^0.1.10.1.7up to date
 ciborium^0.2.10.2.2up to date
 coarsetime^0.1.310.1.36up to date
 ct-codecs^1.1.11.1.6up to date
 ed25519-compact^2.0.42.1.1up to date
 hmac-sha1-compact^1.1.41.1.5up to date
 hmac-sha256^1.1.71.1.12up to date
 hmac-sha512^1.1.51.1.7up to date
 k256^0.13.10.13.4up to date
 p256^0.13.20.13.2up to date
 p384^0.13.00.13.1up to date
 rand^0.8.50.9.1out of date
 rsa ⚠️^0.7.20.9.8insecure
 serde^1.0.1901.0.219up to date
 serde_json^1.0.1081.0.140up to date
 spki^0.6.00.7.3out of date
 thiserror^1.0.502.0.12out of date
 zeroize^1.6.01.8.1up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 benchmark-simple^0.1.80.1.10up to date

Security Vulnerabilities

rsa: Marvin Attack: potential key recovery through timing sidechannels

RUSTSEC-2023-0071

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.