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 plum

No external dependencies! 🙌

Crate plum_params

No external dependencies! 🙌

Crate plum_wallet

Dependencies

(7 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bls-signatures^0.60.15.0out of date
 libsecp256k1 ⚠️^0.30.7.2out of date
 parking_lot^0.110.12.5out of date
 rand^0.70.9.2out of date
 serde^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 thiserror^1.02.0.17out of date

Crate plum-beacon

Dependencies

(7 total, 3 outdated)

CrateRequiredLatestStatus
 anyhow^1.01.0.100up to date
 async-trait^0.10.1.89up to date
 bls-signatures^0.60.15.0out of date
 hex^0.40.4.3up to date
 parking_lot^0.110.12.5out of date
 reqwest^0.100.13.1out of date
 serde^1.01.0.228up to date

Dev dependencies

(1 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^0.21.49.0out of date

Crate plum_chain

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 anyhow^1.01.0.100up to date
 cid^0.50.11.1out of date
 thiserror^1.02.0.17out of date
 byteorder^1.31.5.0up to date

Crate ipfs-block

Dependencies

(3 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 minicbor^0.52.1.3out of date
 multihash ⚠️^0.110.19.3out of date

Crate ipfs-blockstore

Dependencies

(2 total, 2 outdated)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 multibase^0.80.9.2out of date

Crate ipfs-datastore

Dependencies

(6 total, 3 outdated)

CrateRequiredLatestStatus
 dyn-clone^1.01.0.20up to date
 log^0.40.4.29up to date
 parking_lot^0.110.12.5out of date
 path-clean^0.11.0.1out of date
 serde^1.01.0.228up to date
 uuid^0.81.19.0out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.01.0.149up to date

Crate ipfs-datastore-memory

No external dependencies! 🙌

Crate ipfs-datastore-rocksdb

Dependencies

(6 total, 2 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 log^0.40.4.29up to date
 num_cpus^1.131.17.0up to date
 parking_lot^0.110.12.5out of date
 regex ⚠️^1.31.12.2maybe insecure
 rocksdb ⚠️^0.140.24.0out of date
 smallvec ⚠️^1.41.15.1maybe insecure

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 tempfile^3.13.24.0up to date

Crate ipld

Dependencies

(6 total, 4 outdated)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 minicbor^0.52.1.3out of date
 multibase^0.80.9.2out of date
 serde^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 thiserror^1.02.0.17out of date

Crate plum_network

No external dependencies! 🙌

Crate plum_p2p

Dependencies

(7 total, 4 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.89up to date
 cid^0.50.11.1out of date
 futures^0.30.3.31up to date
 log^0.40.4.29up to date
 minicbor^0.52.1.3out of date
 multihash ⚠️^0.110.19.3out of date
 libp2p ⚠️^0.240.56.0out of date

Crate plum_peermgr

No external dependencies! 🙌

Crate plum_address

Dependencies

(6 total, 3 outdated)

CrateRequiredLatestStatus
 data-encoding^2.12.10.0up to date
 lazy_static^1.41.5.0up to date
 minicbor^0.52.1.3out of date
 serde^1.01.0.228up to date
 thiserror^1.02.0.17out of date
 unsigned-varint^0.40.8.0out of date

Dev dependencies

(4 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bls-signatures^0.60.15.0out of date
 libsecp256k1 ⚠️^0.30.7.2out of date
 rand^0.70.9.2out of date
 serde_json^1.01.0.149up to date

Crate plum_bigint

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 minicbor^0.52.1.3out of date
 num-bigint^0.20.4.6out of date
 num-traits^0.20.2.19up to date
 serde^1.01.0.228up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 serde_derive^1.01.0.228up to date
 serde_json^1.01.0.149up to date

Crate plum_bitfield

Dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 minicbor^0.52.1.3out of date
 serde^1.01.0.228up to date
 serde_bytes^0.110.11.19up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.01.0.149up to date

Crate rle

Dependencies

(2 total, 2 outdated)

CrateRequiredLatestStatus
 num^0.20.4.3out of date
 thiserror^1.02.0.17out of date

Crate plum_block

Dependencies

(6 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 minicbor^0.52.1.3out of date
 multihash ⚠️^0.110.19.3out of date
 serde^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 serde_repr^0.10.1.20up to date

Crate plum_bytes

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 base64^0.120.22.1out of date
 hex^0.40.4.3up to date
 minicbor^0.52.1.3out of date
 serde^1.01.0.228up to date

Crate plum_crypto

Dependencies

(7 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bls-signatures^0.60.15.0out of date
 libsecp256k1 ⚠️^0.30.7.2out of date
 minicbor^0.52.1.3out of date
 rand^0.70.9.2out of date
 serde^1.01.0.228up to date
 serde_repr^0.10.1.20up to date
 thiserror^1.02.0.17out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.01.0.149up to date

Crate plum_fc

Dependencies

(3 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 multihash ⚠️^0.110.19.3out of date
 thiserror^1.02.0.17out of date

Crate plum_hash

Dependencies

(5 total, 3 outdated)

CrateRequiredLatestStatus
 fixed-hash^0.60.8.0out of date
 hex^0.40.4.3up to date
 minicbor^0.52.1.3out of date
 rand^0.70.9.2out of date
 serde^1.01.0.228up to date

Crate plum_message

Dependencies

(5 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.100up to date
 cid^0.50.11.1out of date
 minicbor^0.52.1.3out of date
 multihash ⚠️^0.110.19.3out of date
 serde^1.01.0.228up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.01.0.149up to date

Crate plum_peerid

Dependencies

(3 total, 2 outdated)

CrateRequiredLatestStatus
 libp2p-core^0.210.43.2out of date
 minicbor^0.52.1.3out of date
 serde^1.01.0.228up to date

Crate plum_piece

Dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 minicbor^0.52.1.3out of date
 serde^1.01.0.228up to date
 thiserror^1.02.0.17out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.01.0.149up to date

Crate plum_sector

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 minicbor^0.52.1.3out of date
 serde^1.01.0.228up to date
 serde_repr^0.10.1.20up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.01.0.149up to date

Crate plum_tipset

Dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 minicbor^0.52.1.3out of date
 serde^1.01.0.228up to date
 thiserror^1.02.0.17out of date

Dev dependencies

(3 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 hex^0.40.4.3up to date
 multihash ⚠️^0.110.19.3out of date
 serde_json^1.01.0.149up to date

Crate plum_types

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 lazy_static^1.41.5.0up to date
 minicbor^0.52.1.3out of date
 serde^1.01.0.228up to date

Crate plum_vm

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 lazy_static^1.4.01.5.0up to date
 serde^1.01.0.228up to date

Crate plum-vm-exitcode

Dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 minicbor^0.52.1.3out of date
 serde^1.01.0.228up to date
 serde_repr^0.10.1.20up to date

Crate plum_actor

Dependencies

(5 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 cid^0.50.11.1out of date
 minicbor^0.52.1.3out of date
 multihash ⚠️^0.110.19.3out of date
 serde^1.01.0.228up to date
 thiserror^1.02.0.17out of date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 hex-literal^0.21.1.0out of date

Crate plum-hashing

Dependencies

(6 total, 6 outdated)

CrateRequiredLatestStatus
 blake2b_simd^0.51.0.4out of date
 blake2s_simd^0.51.0.4out of date
 digest^0.90.10.7out of date
 sha-1^0.90.10.1out of date
 sha2^0.90.10.9out of date
 sha3^0.90.10.8out of date

Crate jsonrpc-client

Dependencies

(10 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.89up to date
 futures^0.30.3.31up to date
 log^0.40.4.29up to date
 serde^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 thiserror^1.02.0.17out of date
 reqwest^0.100.13.1out of date
 async-tungstenite^0.70.32.1out of date
 parking_lot^0.110.12.5out of date
 tokio ⚠️^0.21.49.0out of date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.70.11.8out of date

Crate plum_api_client

Dependencies

(10 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.89up to date
 base64^0.120.22.1out of date
 cid^0.50.11.1out of date
 libp2p-core^0.210.43.2out of date
 log^0.40.4.29up to date
 serde^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 serde_repr^0.10.1.20up to date
 thiserror^1.02.0.17out of date
 tokio ⚠️^0.21.49.0out of date

Security Vulnerabilities

multihash: Unexpected panic in multihash `from_slice` parsing code

RUSTSEC-2020-0068

In versions prior 0.11.3 it's possible to make from_slice panic by feeding it certain malformed input. It's never documented that from_slice (and from_bytes which wraps it) can panic, and its' return type (Result<Self, DecodeError>) suggests otherwise.

In practice, from_slice/from_bytes is frequently used in networking code (for example in rust-libp2p) and is being called with unsanitized data from untrusted sources. This can allow attackers to cause DoS by causing an unexpected panic in the network client's code.

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.

libsecp256k1: libsecp256k1 allows overflowing signatures

RUSTSEC-2021-0076

libsecp256k1 accepts signatures whose R or S parameter is larger than the secp256k1 curve order, which differs from other implementations. This could lead to invalid signatures being verified.

The error is resolved in 0.5.0 by adding a check_overflow flag.

tokio: Data race when sending and receiving after closing a `oneshot` channel

RUSTSEC-2021-0124

If a tokio::sync::oneshot channel is closed (via the oneshot::Receiver::close method), a data race may occur if the oneshot::Sender::send method is called while the corresponding oneshot::Receiver is awaited or calling try_recv.

When these methods are called concurrently on a closed channel, the two halves of the channel can concurrently access a shared memory location, resulting in a data race. This has been observed to cause memory corruption.

Note that the race only occurs when both halves of the channel are used after the Receiver half has called close. Code where close is not used, or where the Receiver is not awaited and try_recv is not called after calling close, is not affected.

See tokio#4225 for more details.

regex: Regexes with large repetitions on empty sub-expressions take a very long time to parse

RUSTSEC-2022-0013

The Rust Security Response WG was notified that the regex crate did not properly limit the complexity of the regular expressions (regex) it parses. An attacker could use this security issue to perform a denial of service, by sending a specially crafted regex to a service accepting untrusted regexes. No known vulnerability is present when parsing untrusted input with trusted regexes.

This issue has been assigned CVE-2022-24713. The severity of this vulnerability is "high" when the regex crate is used to parse untrusted regexes. Other uses of the regex crate are not affected by this vulnerability.

Overview

The regex crate features built-in mitigations to prevent denial of service attacks caused by untrusted regexes, or untrusted input matched by trusted regexes. Those (tunable) mitigations already provide sane defaults to prevent attacks. This guarantee is documented and it's considered part of the crate's API.

Unfortunately a bug was discovered in the mitigations designed to prevent untrusted regexes to take an arbitrary amount of time during parsing, and it's possible to craft regexes that bypass such mitigations. This makes it possible to perform denial of service attacks by sending specially crafted regexes to services accepting user-controlled, untrusted regexes.

Affected versions

All versions of the regex crate before or equal to 1.5.4 are affected by this issue. The fix is include starting from regex 1.5.5.

Mitigations

We recommend everyone accepting user-controlled regexes to upgrade immediately to the latest version of the regex crate.

Unfortunately there is no fixed set of problematic regexes, as there are practically infinite regexes that could be crafted to exploit this vulnerability. Because of this, we do not recommend denying known problematic regexes.

Acknowledgements

We want to thank Addison Crump for responsibly disclosing this to us according to the Rust security policy, and for helping review the fix.

We also want to thank Andrew Gallant for developing the fix, and Pietro Albini for coordinating the disclosure and writing this advisory.

rocksdb: Out-of-bounds read when opening multiple column families with TTL

RUSTSEC-2022-0046

Affected versions of this crate called the RocksDB C API rocksdb_open_column_families_with_ttl() with a pointer to a single integer TTL value, but one TTL value for each column family is expected.

This is only relevant when using rocksdb::DBWithThreadMode::open_cf_descriptors_with_ttl() with multiple column families.

This bug has been fixed in v0.19.0.

libp2p: libp2p Lack of resource management DoS

RUSTSEC-2022-0084

libp2p allows a potential attacker to cause victim p2p node to run out of memory

The out of memory failure can cause crashes where libp2p is intended to be used within large scale networks leading to potential Denial of Service (DoS) vector

Users should upgrade or reference the DoS mitigation strategies.