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 neolink

Dependencies

(30 total, 12 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.701.0.101up to date
 base64^0.22.00.22.1up to date
 byte-slice-cast^1.2.21.2.3up to date
 bytes ⚠️^1.6.01.11.1maybe insecure
 clap^4.2.24.5.57up to date
 crossbeam-channel^0.5.80.5.15up to date
 dirs^5.0.16.0.0out of date
 env_logger^0.11.30.11.8up to date
 fcm-push-listener^2.0.34.1.1out of date
 futures^0.3.280.3.31up to date
 gstreamer^0.23.00.24.4out of date
 gstreamer-app^0.23.00.24.4out of date
 gstreamer-rtsp^0.23.00.24.4out of date
 gstreamer-rtsp-server^0.23.00.24.4out of date
 heck^0.5.00.5.0up to date
 log^0.4.170.4.29up to date
 md5^0.7.00.8.0out of date
 once_cell^1.19.01.21.3up to date
 quick-xml^0.36.10.39.0out of date
 regex^1.7.31.12.3up to date
 rumqttc^0.24.00.25.1out of date
 serde^1.0.1601.0.228up to date
 serde_json^1.0.961.0.149up to date
 tokio^1.27.01.49.0up to date
 tokio-stream^0.1.120.1.18up to date
 tokio-util^0.7.70.7.18up to date
 toml^0.8.20.9.11+spec-1.1.0out of date
 uuid^1.8.01.20.0up to date
 validator^0.18.10.20.0out of date
 tikv-jemallocator^0.50.6.1out of date

Crate neolink_core

Dependencies

(22 total, 6 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 aes^0.8.20.8.4up to date
 bytes ⚠️^1.4.01.11.1maybe insecure
 cfb-mode^0.8.20.8.2up to date
 cookie-factory^0.3.20.3.3up to date
 crc32fast^1.3.21.5.0up to date
 crossbeam-channel^0.5.80.5.15up to date
 delegate^0.12.00.13.5out of date
 futures^0.3.280.3.31up to date
 get_if_addrs^0.5.30.5.3up to date
 lazy_static^1.4.01.5.0up to date
 log^0.4.170.4.29up to date
 md5^0.7.00.8.0out of date
 nom^7.1.38.0.0out of date
 quick-xml^0.36.00.39.0out of date
 rand^0.8.50.9.2out of date
 regex^1.7.31.12.3up to date
 serde^1.0.1061.0.228up to date
 thiserror^1.0.582.0.18out of date
 time^0.3.360.3.47up to date
 tokio^1.27.01.49.0up to date
 tokio-stream^0.1.120.1.18up to date
 tokio-util^0.7.70.7.18up to date

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 assert_matches^1.5.01.5.0up to date
 env_logger*0.11.8up to date
 indoc^2.0.12.0.7up to date

Security Vulnerabilities

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.