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 touchportal-sdk

Dependencies

(17 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 Inflector^0.11.40.11.4up to date
 derive_builder^0.20.20.20.2up to date
 eyre^0.6.120.6.12up to date
 hex_color^3.0.03.0.0up to date
 indexmap^2.10.02.13.0up to date
 prettyplease^0.2.360.2.37up to date
 proc-macro2^1.0.951.0.106up to date
 quote^1.0.401.0.44up to date
 serde^1.0.2191.0.228up to date
 serde_json^1.0.1421.0.149up to date
 serde_repr^0.1.200.1.20up to date
 syn^2.0.1042.0.117up to date
 tokio^1.47.11.49.0up to date
 tracing^0.1.410.1.44up to date
 zip^4.3.08.1.0out of date
 openssl ⚠️^0.10.600.10.75maybe insecure
 openssl-macros^0.1.10.1.1up to date

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 float-cmp^0.10.00.10.0up to date
 insta^1.43.11.46.3up to date
 pretty_assertions^1.4.11.4.1up to date

Crate touchportal-youtube-live

Dependencies

(18 total, 1 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 async-stream^0.3.60.3.6up to date
 bytes ⚠️^1.10.11.11.1maybe insecure
 eyre^0.6.120.6.12up to date
 form_urlencoded^1.2.11.2.2up to date
 http^1.01.4.0up to date
 http-body-util^0.1.30.1.3up to date
 hyper^1.6.01.8.1up to date
 hyper-util^0.1.160.1.20up to date
 jiff^0.20.2.21up to date
 oauth2^5.0.05.0.0up to date
 reqwest^0.120.13.2out of date
 serde^1.0.2191.0.228up to date
 serde_json^1.0.1421.0.149up to date
 tokio^1.47.11.49.0up to date
 tokio-stream^0.1.160.1.18up to date
 tracing^0.1.410.1.44up to date
 tracing-subscriber ⚠️^0.3.190.3.22maybe insecure
 webbrowser^1.0.51.1.0up to date

Build dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.0.1421.0.149up to date

Security Vulnerabilities

openssl: Use-After-Free in `Md::fetch` and `Cipher::fetch`

RUSTSEC-2025-0022

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.

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.