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

Crate nanopub

Dependencies

(10 total, 1 outdated, 1 insecure, 1 possibly insecure)

CrateRequiredLatestStatus
 base64^0.220.22.1up to date
 oxrdf^0.30.3.3up to date
 oxttl^0.20.2.3up to date
 oxjsonld^0.20.2.4up to date
 regex^1.101.12.3up to date
 serde^1.01.0.228up to date
 chrono ⚠️^0.40.4.44maybe insecure
 rsa ⚠️^0.90.9.10insecure
 getrandom^0.30.4.2out of date
 reqwest^0.130.13.2up to date

Crate nanopub-cli

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 clap^4.54.6.0up to date
 clap_complete^4.54.6.0up to date

Crate nanopub-sign

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 pyo3^0.280.28.2up to date
 pythonize^0.280.28.0up to date

Crate nanopub-js

Dependencies

(8 total, 1 outdated)

CrateRequiredLatestStatus
 wasm-bindgen^0.20.2.114up to date
 wasm-bindgen-futures^0.40.4.64up to date
 wasm-bindgen-derive^0.30.3.0up to date
 js-sys^0.30.3.91up to date
 serde^1.01.0.228up to date
 serde-wasm-bindgen^0.60.6.5up to date
 getrandom^0.30.4.2out of date
 console_error_panic_hook^0.10.1.7up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 wasm-bindgen-test^0.30.3.64up to date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

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.