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

Crate sspi

Dependencies

(41 total, 16 outdated, 1 insecure, 2 possibly insecure)

CrateRequiredLatestStatus
 async-dnssd^0.50.5.1up to date
 async-recursion^1.11.1.1up to date
 bitflags^2.92.11.0up to date
 byteorder^1.51.5.0up to date
 cfg-if^11.0.4up to date
 crypto-mac^0.110.11.1up to date
 futures^0.30.3.32up to date
 hickory-resolver^0.240.25.2out of date
 hmac^0.120.13.0out of date
 lazy_static^1.51.5.0up to date
 md-5^0.100.11.0out of date
 md4^0.100.11.0out of date
 num-bigint-dig^0.80.9.1out of date
 num-derive^0.40.4.2up to date
 num-traits^0.20.2.19up to date
 oid^0.20.3.0out of date
 picky^7.0.0-rc.156.3.0up to date
 picky-asn1^0.100.10.1up to date
 picky-asn1-der^0.50.5.5up to date
 picky-asn1-x509^0.140.15.3out of date
 picky-krb^0.110.12.2out of date
 portpicker^0.10.1.1up to date
 rand^0.80.10.0out of date
 reqwest^0.120.13.2out of date
 rsa ⚠️^0.9.70.9.10insecure
 rustls ⚠️^0.230.23.37maybe insecure
 rustls-native-certs^0.80.8.3up to date
 serde^11.0.228up to date
 serde_derive^11.0.228up to date
 sha1^0.100.11.0out of date
 sha2^0.100.11.0out of date
 time ⚠️^0.30.3.47maybe insecure
 tokio^1.471.51.0up to date
 tracing^0.10.1.44up to date
 url^2.52.5.8up to date
 uuid^1.181.23.0up to date
 windows^0.610.62.2out of date
 windows-registry^0.50.6.1out of date
 windows-sys^0.600.61.2out of date
 winscard^0.20.3.0out of date
 zeroize^1.81.8.2up to date

Dev dependencies

(7 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 base64^0.220.22.1up to date
 cfg-if^11.0.4up to date
 picky^7.0.0-rc.156.3.0up to date
 proptest^1.61.11.0up to date
 static_assertions^11.1.0up to date
 tracing-subscriber ⚠️^0.30.3.23maybe insecure
 whoami^1.62.1.1out of date

Security Vulnerabilities

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.

rustls: rustls network-reachable panic in `Acceptor::accept`

RUSTSEC-2024-0399

A bug introduced in rustls 0.23.13 leads to a panic if the received TLS ClientHello is fragmented. Only servers that use rustls::server::Acceptor::accept() are affected.

Servers that use tokio-rustls's LazyConfigAcceptor API are affected.

Servers that use tokio-rustls's TlsAcceptor API are not affected.

Servers that use rustls-ffi's rustls_acceptor_accept API are affected.

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.

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.