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 dubp

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 rusty-hook^0.11.20.11.2up to date

Crate dubp-block

Dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 json-pest-parser^0.3.00.3.0up to date
 serde1.0.*1.0.216up to date
 serde_json1.0.*1.0.134up to date
 log0.4.*0.4.22up to date
 thiserror^1.0.202.0.9out of date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 bincode^1.2.01.3.3up to date
 pretty_assertions^0.6.11.4.1out of date
 unwrap^1.2.11.2.1up to date

Crate dubp-common

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 serde^1.0.1051.0.216up to date
 serde_json^1.0.571.0.134up to date
 thiserror^1.0.202.0.9out of date
 zerocopy^0.3.00.8.13out of date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 bincode^1.2.01.3.3up to date
 unwrap^1.2.11.2.1up to date

Crate dubp-documents

Dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 beef^0.5.00.5.2up to date
 log0.4.*0.4.22up to date
 serde1.0.*1.0.216up to date
 serde_json1.0.*1.0.134up to date
 thiserror^1.0.202.0.9out of date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 maplit^1.0.21.0.2up to date
 pretty_assertions^0.6.11.4.1out of date
 unwrap^1.2.11.2.1up to date

Crate dubp-documents-parser

Dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 json-pest-parser^0.3.00.3.0up to date
 pest^2.1.32.7.15up to date
 pest_derive^2.1.02.7.15up to date
 serde_json1.0.*1.0.134up to date
 thiserror^1.0.202.0.9out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 unwrap^1.2.11.2.1up to date

Crate dubp-wallet

Dependencies

(5 total, 2 outdated)

CrateRequiredLatestStatus
 byteorder^1.3.41.5.0up to date
 serde1.0.*1.0.216up to date
 smallvec^1.6.11.13.2up to date
 thiserror^1.0.202.0.9out of date
 zerocopy^0.3.00.8.13out of date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 maplit^1.0.21.0.2up to date
 pretty_assertions^0.6.11.4.1out of date
 unwrap^1.2.11.2.1up to date

Crate duniter-bda-types

Dependencies

(5 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 arrayvec^0.70.7.6up to date
 bincode^1.31.3.3up to date
 serde^1.0.1051.0.216up to date
 smallvec ⚠️^1.6.01.13.2maybe insecure
 thiserror^1.0.202.0.9out of date

Crate duniter-peer

Dependencies

(6 total, 1 outdated)

CrateRequiredLatestStatus
 beef^0.5.00.5.2up to date
 log0.4.*0.4.22up to date
 serde1.0.*1.0.216up to date
 serde_json1.0.*1.0.134up to date
 smallvec^1.6.11.13.2up to date
 thiserror^1.0.202.0.9out of date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 maplit^1.0.21.0.2up to date
 pretty_assertions^0.6.11.4.1out of date
 unwrap^1.2.11.2.1up to date

Crate dup-crypto

Dependencies

(14 total, 8 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 arrayvec^0.70.7.6up to date
 base64^0.13.00.22.1out of date
 blake3^0.3.71.5.5out of date
 bs58^0.4.00.5.1out of date
 byteorder^1.3.41.5.0up to date
 curve25519-dalek ⚠️^3.14.1.3out of date
 chacha20poly1305^0.7.10.10.1out of date
 ed25519-bip32^0.3.20.4.1out of date
 hex^0.4.20.4.3up to date
 once_cell^1.5.21.20.2up to date
 serde^1.0.1231.0.216up to date
 thiserror^1.0.242.0.9out of date
 zerocopy^0.3.00.8.13out of date
 zeroize^1.2.01.8.1up to date

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 bincode^1.3.11.3.3up to date
 sodiumoxide^0.2.60.2.7up to date
 unwrap^1.2.11.2.1up to date
 criterion^0.3.40.5.1out of date

Security Vulnerabilities

smallvec: Buffer overflow in SmallVec::insert_many

RUSTSEC-2021-0003

A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.

This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.

The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.

Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.

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