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 lyrebird

Dependencies

(11 total, 1 outdated)

CrateRequiredLatestStatus
 anyhow^1.01.0.93up to date
 clap^4.44.5.21up to date
 fast-socks5^0.9.10.9.6up to date
 futures^0.3.290.3.31up to date
 safelog^0.4.00.4.2up to date
 thiserror^1.0.562.0.3out of date
 tokio^1.341.41.1up to date
 tokio-util^0.7.100.7.12up to date
 tracing^0.1.400.1.41up to date
 tracing-subscriber^0.3.180.3.19up to date
 url^2.5.02.5.4up to date

Crate o7

Dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 tokio^1.331.41.1up to date

Crate obfs4

Dependencies

(36 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 getrandom^0.2.110.2.15up to date
 rand^0.8.50.8.5up to date
 rand_core^0.6.40.6.4up to date
 digest^0.10.70.10.7up to date
 siphasher^1.0.01.0.1up to date
 sha2^0.10.80.10.8up to date
 hmac^0.12.10.12.1up to date
 hkdf^0.12.30.12.4up to date
 crypto_secretbox^0.1.10.1.1up to date
 subtle^2.5.02.6.1up to date
 x25519-dalek^2.0.12.0.1up to date
 hex^0.4.30.4.3up to date
 tracing^0.1.400.1.41up to date
 colored^2.0.42.1.0up to date
 base64^0.22.00.22.1up to date
 serde_json^1.0.1141.0.133up to date
 serde^1.0.1971.0.215up to date
 pin-project^1.1.31.1.7up to date
 futures^0.3.290.3.31up to date
 tokio^1.341.41.1up to date
 tokio-util^0.7.100.7.12up to date
 bytes^1.5.01.9.0up to date
 tor-cell^0.24.00.25.0out of date
 tor-llcrypto^0.24.00.25.0out of date
 tor-error^0.24.00.25.0out of date
 tor-bytes^0.24.00.25.0out of date
 cipher^0.4.40.4.4up to date
 zeroize^1.7.01.8.1up to date
 thiserror^1.0.562.0.3out of date
 curve25519-dalek ⚠️^4.14.1.3maybe insecure
 curve25519-elligator2^0.1.0-alpha.1N/Aup to date
 anyhow^1.0.201.0.93up to date
 async-trait^0.1.90.1.83up to date
 num-bigint^0.4.20.4.6up to date
 simple_asn1^0.6.10.6.2up to date
 filetime^0.2.250.2.25up to date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 tracing-subscriber^0.3.180.3.19up to date
 hex-literal^0.4.10.4.1up to date
 tor-basic-utils^0.24.00.25.0out of date

Crate ptrs

Dependencies

(7 total, 1 outdated)

CrateRequiredLatestStatus
 futures^0.3.300.3.31up to date
 itertools^0.13.00.13.0up to date
 subtle^2.5.02.6.1up to date
 thiserror^12.0.3out of date
 tokio^1.401.41.1up to date
 tracing^0.1.400.1.41up to date
 url^2.5.02.5.4up to date

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 tracing-subscriber^0.3.180.3.19up to date
 serial_test^3.0.03.2.0up to date
 tempfile^33.14.0up to date

Security Vulnerabilities

curve25519-dalek: Timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub`

RUSTSEC-2024-0344

Timing variability of any kind is problematic when working with potentially secret values such as elliptic curve scalars, and such issues can potentially leak private keys and other secrets. Such a problem was recently discovered in curve25519-dalek.

The Scalar29::sub (32-bit) and Scalar52::sub (64-bit) functions contained usage of a mask value inside a loop where LLVM saw an opportunity to insert a branch instruction (jns on x86) to conditionally bypass this code section when the mask value is set to zero as can be seen in godbolt:

A similar problem was recently discovered in the Kyber reference implementation:

https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/hqbtIGFKIpU/m/cnE3pbueBgAJ

As discussed on that thread, one portable solution, which is also used in this PR, is to introduce a volatile read as an optimization barrier, which prevents the compiler from optimizing it away.

The fix can be validated in godbolt here:

The problem was discovered and the solution independently verified by Alexander Wagner [email protected] and Lea Themint [email protected] using their DATA tool:

https://github.com/Fraunhofer-AISEC/DATA