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

Crate barium-client

Dependencies

(24 total, 12 outdated, 1 insecure)

CrateRequiredLatestStatus
 base-62^0.10.1.1up to date
 rand^0.70.10.3out of date
 rsa ⚠️^0.30.9.10insecure
 serde^1.01.0.229up to date
 serde_json^1.01.0.154up to date
 dirs^2.07.0.0out of date
 gtk^0.80.19.0out of date
 gtk_resources^0.1.5N/Aup to date
 gdk^0.120.19.0out of date
 gio^0.80.22.10out of date
 glib^0.90.22.10out of date
 pango^0.80.22.9out of date
 padlock^0.20.2.0up to date
 rmp-serde^0.141.3.1out of date
 native-tls^0.20.2.18up to date
 openssl^0.100.10.82up to date
 tray-item^0.4.0-alpha0.10.0out of date
 lazy_static^1.41.5.1up to date
 trust-dns-client^0.190.23.2out of date
 chrono^0.40.4.45up to date
 log^0.40.4.35up to date
 fern^0.60.7.1out of date
 clipboard^0.5.00.5.0up to date
 regex^11.13.1up to date

Build dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 regex^1.31.13.1up to date
 last-git-commit^0.20.2.0up to date

Crate barium-server

Dependencies

(16 total, 4 outdated, 2 insecure)

CrateRequiredLatestStatus
 serde^1.01.0.229up to date
 serde_json^1.01.0.154up to date
 tokio ⚠️^0.21.54.1insecure
 padlock^0.20.2.0up to date
 rmp-serde^0.141.3.1out of date
 log^0.40.4.35up to date
 fern^0.60.7.1out of date
 chrono^0.40.4.45up to date
 rsa ⚠️^0.30.9.10insecure
 lazy_static^1.41.5.1up to date
 native-tls^0.20.2.18up to date
 ipnet^2.32.12.2up to date
 either^1.51.19.0up to date
 iron^0.60.6.1up to date
 router^0.60.6.0up to date
 base-62^0.10.1.1up to date

Build dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 last-git-commit^0.20.2.0up to date

Crate barium-shared

Dependencies

(3 total, 2 outdated, 1 insecure)

CrateRequiredLatestStatus
 serde^1.01.0.229up to date
 rsa ⚠️^0.30.9.10insecure
 sha3^0.90.12.0out of date

Security Vulnerabilities

tokio: Data race when sending and receiving after closing a `oneshot` channel

RUSTSEC-2021-0124

If a tokio::sync::oneshot channel is closed (via the oneshot::Receiver::close method), a data race may occur if the oneshot::Sender::send method is called while the corresponding oneshot::Receiver is awaited or calling try_recv.

When these methods are called concurrently on a closed channel, the two halves of the channel can concurrently access a shared memory location, resulting in a data race. This has been observed to cause memory corruption.

Note that the race only occurs when both halves of the channel are used after the Receiver half has called close. Code where close is not used, or where the Receiver is not awaited and try_recv is not called after calling close, is not affected.

See tokio#4225 for more details.

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. The crypto-bigint migration (RustCrypto/RSA#394) did not close this. Tracking is RustCrypto/RSA#626 (padding still not constant-time). Implicit rejection work is in RustCrypto/RSA#680; default-path blinding is in RustCrypto/RSA#702.

Still affected as of 2026-09-12: rsa 0.9.10 (latest stable) and rsa 0.10.0-rc.18 (latest). patched = [] is intentional.

Workarounds

Avoid using the rsa crate in settings where attackers can observe timing, for example over the network. 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.