This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate jinshu-utils

Dependencies

(6 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 if-addrs^0.70.15.0out of date
 thiserror^12.0.19out of date
 tokio ⚠️^1.171.53.0maybe insecure
 zeroize^1.41.9.0up to date
 tracing^0.10.1.44up to date
 serde^11.0.229up to date

Dev dependencies

(3 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^1.171.53.0maybe insecure
 rand^0.80.10.2out of date
 serde_json^11.0.151up to date

Crate jinshu-protocol

Dependencies

(13 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio-util^0.70.7.18up to date
 bytes ⚠️^1.11.12.1maybe insecure
 serde^11.0.229up to date
 serde_json^11.0.151up to date
 rmp-serde^11.3.1up to date
 ciborium^0.20.2.2up to date
 flexbuffers^225.12.19out of date
 url^22.5.8up to date
 uuid^1.0.0-alpha.11.24.0up to date
 mime^0.30.3.17up to date
 serde_shims^0.20.2.2up to date
 tracing^0.10.1.44up to date
 thiserror^1.02.0.19out of date

Crate jinshu-sdk

Dependencies

(14 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 futures^0.30.3.33up to date
 tokio ⚠️^1.171.53.0maybe insecure
 tokio-util^0.70.7.18up to date
 reqwest^0.110.13.4out of date
 anyhow^11.0.104up to date
 clap^34.6.2out of date
 mime^0.30.3.17up to date
 log^0.40.4.33up to date
 env_logger^0.90.11.11out of date
 url^2.22.5.8up to date
 serde^11.0.229up to date
 uuid^1.0.0-alpha.11.24.0up to date
 thiserror^1.02.0.19out of date
 dashmap^5.16.2.1out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 tracing^0.10.1.44up to date

Crate jinshu-database

Dependencies

(3 total, 2 outdated)

CrateRequiredLatestStatus
 sea-orm^0.72.0.0out of date
 serde^11.0.229up to date
 time^0.2.270.3.54out of date

Crate jinshu-redis

Dependencies

(5 total, 3 outdated)

CrateRequiredLatestStatus
 uuid^1.0.0-alpha.11.24.0up to date
 serde^11.0.229up to date
 redis^0.211.4.1out of date
 deadpool-redis^0.100.23.0out of date
 thiserror^12.0.19out of date

Crate jinshu-queue

Dependencies

(10 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 rdkafka^0.280.39.0out of date
 pulsar^4.16.8.0out of date
 tracing^0.10.1.44up to date
 async-trait^0.10.1.91up to date
 tokio ⚠️^1.171.53.0maybe insecure
 tokio-stream^0.10.1.18up to date
 serde^11.0.229up to date
 url^2.22.5.8up to date
 thiserror^12.0.19out of date
 uuid^1.0.0-alpha.11.24.0up to date

Crate jinshu-tracing

Dependencies

(7 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 serde^11.0.229up to date
 byte-unit^4.05.2.5out of date
 tracing^0.10.1.44up to date
 tracing-subscriber ⚠️^0.30.3.23maybe insecure
 tracing-appender^0.20.2.5up to date
 rolling-file^0.10.2.0out of date
 thiserror^12.0.19out of date

Crate jinshu-common

Dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 clap^34.6.2out of date
 serde^11.0.229up to date
 config^0.120.15.25out of date
 thiserror^12.0.19out of date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 temp-dir^0.10.2.0out of date
 serde_json^11.0.151up to date
 uuid^1.0.0-alpha.11.24.0up to date

Crate jinshu-rpc

Dependencies

(15 total, 7 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^1.171.53.0maybe insecure
 tokio-stream^0.10.1.18up to date
 tracing^0.10.1.44up to date
 tonic^0.60.14.6out of date
 prost^0.90.14.4out of date
 futures^0.30.3.33up to date
 hyper~0.14.161.10.1out of date
 tower^0.40.5.3out of date
 tower-http^0.20.7.0out of date
 async-trait^0.10.1.91up to date
 etcd-client^0.80.19.0out of date
 anyhow^11.0.104up to date
 serde^11.0.229up to date
 http^0.21.4.2out of date
 uuid^1.0.0-alpha.11.24.0up to date

Dev dependencies

(4 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 rand^0.80.10.2out of date
 uuid^1.0.0-alpha.11.24.0up to date
 tokio ⚠️^1.171.53.0maybe insecure
 tokio-stream^0.10.1.18up to date

Build dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 anyhow^11.0.104up to date
 tonic-build^0.60.14.6out of date

Crate jinshu-api

No external dependencies! 🙌

Crate jinshu-comet

Dependencies

(17 total, 4 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 bytes ⚠️^1.11.12.1maybe insecure
 futures^0.30.3.33up to date
 tokio ⚠️^1.171.53.0maybe insecure
 tokio-stream^0.10.1.18up to date
 tokio-util^0.70.7.18up to date
 tonic^0.60.14.6out of date
 async-trait^0.10.1.91up to date
 config^0.120.15.25out of date
 uuid^1.0.0-alpha.11.24.0up to date
 serde^11.0.229up to date
 dashmap^5.16.2.1out of date
 deadpool-redis^0.100.23.0out of date
 mime^0.30.3.17up to date
 tracing^0.10.1.44up to date
 anyhow^11.0.104up to date
 serde_json^11.0.151up to date
 time ⚠️^0.30.3.54maybe insecure

Crate jinshu-receiver

Dependencies

(10 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^1.171.53.0maybe insecure
 futures^0.30.3.33up to date
 tonic^0.60.14.6out of date
 anyhow^11.0.104up to date
 url^2.22.5.8up to date
 config^0.120.15.25out of date
 tracing^0.10.1.44up to date
 serde^11.0.229up to date
 rdkafka^0.280.39.0out of date
 pulsar^4.16.8.0out of date

Crate jinshu-gateway

Dependencies

(10 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^1.171.53.0maybe insecure
 axum^0.40.8.9out of date
 tower-http^0.20.7.0out of date
 uuid^1.0.0-alpha.11.24.0up to date
 serde^11.0.229up to date
 anyhow^11.0.104up to date
 tracing^0.10.1.44up to date
 serde_json^11.0.151up to date
 deadpool-redis^0.100.23.0out of date
 sea-orm^0.72.0.0out of date

Dev dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 reqwest^0.110.13.4out of date
 argon2^0.40.5.3out of date
 url^22.5.8up to date
 serde_repr^0.10.1.21up to date

Crate jinshu-pusher

Dependencies

(10 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^1.171.53.0maybe insecure
 tokio-stream^0.1.80.1.18up to date
 async-trait^0.10.1.91up to date
 serde^11.0.229up to date
 uuid^1.0.0-alpha.11.24.0up to date
 tracing^0.10.1.44up to date
 tonic^0.60.14.6out of date
 tower^0.40.5.3out of date
 anyhow^11.0.104up to date
 dashmap^5.16.2.1out of date

Crate jinshu-timer

No external dependencies! 🙌

Crate jinshu-admin

No external dependencies! 🙌

Crate jinshu-storage

Dependencies

(7 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.91up to date
 serde_json^1.01.0.151up to date
 tracing^0.10.1.44up to date
 serde^11.0.229up to date
 tokio ⚠️^1.171.53.0maybe insecure
 sea-orm^0.72.0.0out of date
 anyhow^11.0.104up to date

Crate jinshu-authorizer

Dependencies

(8 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tracing^0.10.1.44up to date
 anyhow^11.0.104up to date
 uuid^1.0.0-alpha.11.24.0up to date
 tokio ⚠️^1.171.53.0maybe insecure
 tonic^0.60.14.6out of date
 deadpool-redis^0.100.23.0out of date
 serde_json^11.0.151up to date
 serde^11.0.229up to date

Crate jinshu-file

No external dependencies! 🙌

Security Vulnerabilities

tokio: reject_remote_clients Configuration corruption

RUSTSEC-2023-0001

On Windows, configuring a named pipe server with pipe_mode will force ServerOptions::reject_remote_clients as false.

This drops any intended explicit configuration for the reject_remote_clients that may have been set as true previously.

The default setting of reject_remote_clients is normally true meaning the default is also overridden as false.

Workarounds

Ensure that pipe_mode is set first after initializing a ServerOptions. For example:

let mut opts = ServerOptions::new();
opts.pipe_mode(PipeMode::Message);
opts.reject_remote_clients(true);

tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequences

RUSTSEC-2025-0055

Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:

  • Manipulate terminal title bars
  • Clear screens or modify terminal display
  • Potentially mislead users through terminal manipulation

In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.

This was patched in PR #3368 to escape ANSI control characters from user input.

bytes: Integer overflow in `BytesMut::reserve`

RUSTSEC-2026-0007

In the unique reclaim path of BytesMut::reserve, the condition

if v_capacity >= new_cap + offset

uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB.

This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.

PoC

use bytes::*;

fn main() {
    let mut a = BytesMut::from(&b"hello world"[..]);
    let mut b = a.split_off(5);

    // Ensure b becomes the unique owner of the backing storage
    drop(a);

    // Trigger overflow in new_cap + offset inside reserve
    b.reserve(usize::MAX - 6);

    // This call relies on the corrupted cap and may cause UB & HBO
    b.put_u8(b'h');
}

Workarounds

Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.