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

Crate picky

Dependencies

(71 total, 21 outdated, 1 insecure, 2 possibly insecure)

CrateRequiredLatestStatus
 aead=0.6.0-rc.50.5.2up to date
 aes=0.9.0-rc.20.8.4up to date
 aes-gcm=0.11.0-rc.20.10.3up to date
 aes-kw=0.3.0-rc.10.2.1up to date
 argon2=0.6.0-rc.50.5.3up to date
 base64^0.220.22.1up to date
 bcrypt-pbkdf=0.11.0-rc.10.10.0up to date
 blake2=0.11.0-rc.30.10.6up to date
 block-buffer^0.110.12.0out of date
 block-padding^0.40.4.2up to date
 blowfish=0.10.0-rc.10.9.1up to date
 byteorder^1.51.5.0up to date
 cab^0.60.6.0up to date
 cbc=0.2.0-rc.10.1.2up to date
 chrono ⚠️^0.40.4.44maybe insecure
 cipher=0.5.0-rc.30.5.1out of date
 crypto-bigint=0.7.0-rc.180.7.3out of date
 crypto-common=0.2.0-rc.80.2.1out of date
 crypto-primes=0.7.0-pre.60.7.0out of date
 ctr=0.10.0-rc.20.9.2up to date
 curve25519-dalek=5.0.0-pre.44.1.3up to date
 der=0.8.0-rc.100.8.0out of date
 des=0.9.0-rc.10.8.1up to date
 digest=0.11.0-rc.50.11.2out of date
 ecdsa=0.17.0-rc.110.16.9up to date
 ed25519=3.0.0-rc.22.2.3up to date
 ed25519-dalek=3.0.0-pre.42.2.0up to date
 elliptic-curve=0.14.0-rc.190.13.8up to date
 ff=0.14.0-pre.00.13.1up to date
 ghash=0.6.0-rc.30.6.0out of date
 group=0.14.0-pre.00.13.0up to date
 hex^0.40.4.3up to date
 hkdf=0.13.0-rc.30.13.0out of date
 hmac=0.13.0-rc.30.13.0out of date
 http^1.11.4.0up to date
 inout^0.2.20.2.2up to date
 keccak=0.2.0-rc.00.2.0out of date
 lexical-sort^0.30.3.1up to date
 md-5=0.11.0-rc.20.11.0out of date
 p256=0.14.0-rc.30.13.2up to date
 p384=0.14.0-rc.30.13.1up to date
 p521=0.14.0-rc.30.13.3up to date
 password-hash=0.6.0-rc.80.6.0out of date
 pbkdf2=0.13.0-rc.10.12.2up to date
 picky-asn1^0.100.10.1up to date
 picky-asn1-der^0.50.5.5up to date
 picky-asn1-x509^0.150.15.3up to date
 pkcs1=0.8.0-rc.40.7.5up to date
 pkcs8=0.11.0-rc.80.10.2up to date
 polyval=0.7.0-rc.30.7.1out of date
 primefield=0.14.0-rc.3N/Aup to date
 primeorder=0.14.0-rc.30.13.6up to date
 rand=0.10.0-rc.60.10.0out of date
 rand_core=0.10.0-rc-30.10.0out of date
 rc2=0.9.0-pre.00.8.1up to date
 reqwest^0.130.13.2up to date
 rfc6979=0.5.0-rc.30.4.0up to date
 rsa ⚠️=0.10.0-rc.120.9.10insecure
 sec1=0.8.0-rc.110.8.1out of date
 serde^11.0.228up to date
 serde_json^11.0.149up to date
 sha1=0.11.0-rc.30.11.0out of date
 sha2=0.11.0-rc.30.11.0out of date
 sha3=0.11.0-rc.30.11.0out of date
 signature=3.0.0-rc.62.2.0up to date
 spki=0.8.0-rc.40.7.3up to date
 thiserror^22.0.18up to date
 time ⚠️^0.30.3.47maybe insecure
 universal-hash=0.6.0-rc.40.6.1out of date
 x25519-dalek=3.0.0-pre.42.0.1up to date
 zeroize^1.81.8.2up to date

Dev dependencies

(8 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 cfg-if^1.01.0.4up to date
 expect-test^11.5.1up to date
 picky-test-data^0.10.1.1up to date
 pretty_assertions^1.41.4.1up to date
 rand_chacha=0.10.0-rc.60.10.0out of date
 ring ⚠️^0.170.17.14maybe insecure
 rstest^0.260.26.1up to date
 tempfile^3.223.27.0up to date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

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.

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.

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.