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 forc

Dependencies

(18 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 annotate-snippets^0.10.10.10.1up to date
 ansi_term^0.120.12.1up to date
 anyhow^1.0.411.0.80up to date
 clap^3.14.5.1out of date
 clap_complete^3.14.5.1out of date
 fs_extra^1.21.3.0up to date
 hex^0.4.30.4.3up to date
 serde^1.01.0.197up to date
 serde_json^1.0.731.0.114up to date
 term-table^1.31.3.2up to date
 tokio ⚠️^1.8.01.36.0maybe insecure
 toml^0.70.8.10out of date
 toml_edit^0.190.22.6out of date
 tracing^0.10.1.40up to date
 url^2.22.5.0up to date
 uwuify^0.20.2.2up to date
 walkdir^2.32.4.0up to date
 whoami^1.11.4.1up to date

Crate forc-pkg

Dependencies

(21 total, 4 outdated)

CrateRequiredLatestStatus
 ansi_term^0.120.12.1up to date
 anyhow^11.0.80up to date
 cid^0.100.11.0out of date
 futures^0.30.3.30up to date
 git2^0.17.20.18.2out of date
 gix-url^0.16.00.27.1out of date
 hex^0.4.30.4.3up to date
 ipfs-api-backend-hyper^0.60.6.0up to date
 petgraph^0.60.6.4up to date
 reqwest^0.11.70.11.24up to date
 semver^1.01.0.22up to date
 serde^1.01.0.197up to date
 serde_ignored^0.1.90.1.10up to date
 serde_json^1.01.0.114up to date
 serde_with^3.3.03.6.1up to date
 tar^0.4.380.4.40up to date
 toml^0.70.8.10out of date
 tracing^0.10.1.40up to date
 url^2.22.5.0up to date
 vec1^1.8.01.10.1up to date
 walkdir^22.4.0up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 regex^1.10.21.10.3up to date

Crate forc-client

Dependencies

(13 total, 2 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.80up to date
 async-trait^0.1.580.1.77up to date
 chrono ⚠️^0.40.4.34maybe insecure
 clap^34.5.1out of date
 devault^0.10.2.0out of date
 futures^0.30.3.30up to date
 hex^0.4.30.4.3up to date
 rand^0.80.8.5up to date
 rpassword^7.27.3.1up to date
 serde^1.01.0.197up to date
 serde_json^11.0.114up to date
 tokio ⚠️^1.81.36.0maybe insecure
 tracing^0.10.1.40up to date

Crate forc-crypto

Dependencies

(15 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.751.0.80up to date
 async-trait^0.1.580.1.77up to date
 atty^0.2.140.2.14up to date
 clap^34.5.1out of date
 futures^0.30.3.30up to date
 hex^0.4.30.4.3up to date
 libp2p-identity^0.2.40.2.8up to date
 rand^0.80.8.5up to date
 serde^1.01.0.197up to date
 serde_json^11.0.114up to date
 serde_yaml^0.9.270.9.32up to date
 sha3^0.10.80.10.8up to date
 termion^2.0.13.0.0out of date
 tokio ⚠️^1.81.36.0maybe insecure
 tracing^0.10.1.40up to date

Crate forc-debug

Dependencies

(9 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.80up to date
 clap^34.5.1out of date
 dap^0.4.1-alpha1N/Aup to date
 rayon^1.7.01.9.0up to date
 serde^1.01.0.197up to date
 serde_json^1.01.0.114up to date
 shellfish^0.6.00.9.0out of date
 thiserror^1.01.0.57up to date
 tokio ⚠️^1.81.36.0maybe insecure

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 dap^0.4.1-alpha1N/Aup to date
 escargot^0.5.70.5.10up to date
 portpicker^0.1.10.1.1up to date
 rexpect^0.40.5.0out of date

Crate forc-doc

Dependencies

(10 total, 2 outdated)

CrateRequiredLatestStatus
 anyhow^1.0.651.0.80up to date
 clap^4.0.184.5.1up to date
 colored^2.0.02.1.0up to date
 comrak^0.160.21.0out of date
 horrorshow^0.8.40.8.4up to date
 include_dir^0.7.30.7.3up to date
 minifier^0.3.00.3.0up to date
 opener^0.5.00.6.1out of date
 serde^1.01.0.197up to date
 serde_json^1.01.0.114up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 dir_indexer^0.0.20.0.2up to date
 expect-test^1.4.11.4.1up to date

Crate forc-fmt

Dependencies

(5 total, 3 outdated)

CrateRequiredLatestStatus
 anyhow^11.0.80up to date
 clap^34.5.1out of date
 prettydiff^0.50.6.4out of date
 taplo^0.70.13.0out of date
 tracing^0.10.1.40up to date

Crate forc-lsp

Dependencies

(4 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.80up to date
 clap^34.5.1out of date
 tikv-jemallocator^0.50.5.4up to date
 tokio ⚠️^1.81.36.0maybe insecure

Crate forc-tx

Dependencies

(6 total, 2 outdated)

CrateRequiredLatestStatus
 anyhow^11.0.80up to date
 clap^34.5.1out of date
 devault^0.10.2.0out of date
 serde^1.01.0.197up to date
 serde_json^11.0.114up to date
 thiserror^11.0.57up to date

Crate forc-test

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^11.0.80up to date
 rand^0.80.8.5up to date
 rayon^1.7.01.9.0up to date

Crate forc-tracing

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 ansi_term^0.120.12.1up to date
 tracing^0.10.1.40up to date
 tracing-subscriber^0.30.3.18up to date

Crate forc-util

Dependencies

(15 total, 2 outdated)

CrateRequiredLatestStatus
 annotate-snippets^0.10.10.10.1up to date
 ansi_term^0.120.12.1up to date
 anyhow^11.0.80up to date
 clap^3.14.5.1out of date
 dirs^3.0.25.0.1out of date
 fd-lock^4.04.0.2up to date
 hex^0.4.30.4.3up to date
 paste^1.0.141.0.14up to date
 regex^1.10.21.10.3up to date
 serde^1.01.0.197up to date
 serde_json^1.0.731.0.114up to date
 serial_test^3.0.03.0.0up to date
 tracing^0.10.1.40up to date
 tracing-subscriber^0.30.3.18up to date
 unicode-xid^0.2.20.2.4up to date

Crate mdbook-forc-documenter

Dependencies

(6 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.80up to date
 clap^3.14.5.1out of date
 mdbook ⚠️^0.40.4.37maybe insecure
 semver^1.01.0.22up to date
 serde^1.01.0.197up to date
 serde_json^1.01.0.114up to date

Crate sway-ast

Dependencies

(4 total, all up-to-date)

CrateRequiredLatestStatus
 extension-trait^1.0.11.0.2up to date
 num-bigint^0.4.30.4.4up to date
 num-traits^0.2.140.2.18up to date
 serde^1.01.0.197up to date

Crate sway-core

Dependencies

(28 total, 7 outdated)

CrateRequiredLatestStatus
 clap^3.14.5.1out of date
 derivative^2.2.02.2.0up to date
 dirs^3.05.0.1out of date
 either^1.9.01.10.0up to date
 fuel-ethabi^18.0.018.0.0up to date
 fuel-etk-asm^0.3.1-devN/Aup to date
 fuel-etk-dasm^0.3.1-devN/Aup to date
 fuel-etk-ops^0.3.1-devN/Aup to date
 graph-cycles^0.1.00.1.0up to date
 hashbrown^0.13.10.14.3out of date
 hex^0.40.4.3up to date
 im^15.015.1.0up to date
 indexmap^2.0.02.2.3up to date
 itertools^0.100.12.1out of date
 lazy_static^1.41.4.0up to date
 miden-core^0.3.00.8.0out of date
 pest^2.1.32.7.7up to date
 pest_derive^2.12.7.7up to date
 petgraph^0.60.6.4up to date
 rustc-hash^1.1.01.1.0up to date
 serde^1.01.0.197up to date
 serde_json^1.0.911.0.114up to date
 sha2^0.90.10.8out of date
 strum^0.24.10.26.1out of date
 thiserror^1.01.0.57up to date
 tracing^0.10.1.40up to date
 uint^0.90.9.5up to date
 vec1^1.8.01.10.1up to date

Crate sway-error

Dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 either^1.9.01.10.0up to date
 num-traits^0.2.140.2.18up to date
 smallvec^1.71.13.1up to date
 thiserror^1.01.0.57up to date
 uwuify^0.20.2.2up to date

Crate sway-ir

Dependencies

(10 total, 2 outdated)

CrateRequiredLatestStatus
 anyhow^1.01.0.80up to date
 downcast-rs^1.2.01.2.0up to date
 filecheck^0.50.5.0up to date
 indexmap^2.0.02.2.3up to date
 itertools^0.10.30.12.1out of date
 once_cell^1.18.01.19.0up to date
 peg^0.70.8.2out of date
 prettydiff^0.6.40.6.4up to date
 rustc-hash^1.1.01.1.0up to date
 slotmap^1.0.71.0.7up to date

Crate sway-ir-macros

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 itertools^0.10.30.12.1out of date
 proc-macro2^1.0.431.0.78up to date
 quote^1.0.211.0.35up to date
 syn^1.0.992.0.52out of date

Crate sway-lsp

Dependencies

(23 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.411.0.80up to date
 crossbeam-channel^0.50.5.12up to date
 dashmap^5.45.5.3up to date
 fd-lock^4.04.0.2up to date
 indexmap^2.0.02.2.3up to date
 lsp-types^0.940.95.0out of date
 notify^5.0.06.1.1out of date
 notify-debouncer-mini^0.2.00.4.1out of date
 parking_lot^0.12.10.12.1up to date
 proc-macro2^1.0.51.0.78up to date
 quote^1.0.91.0.35up to date
 rayon^1.5.01.9.0up to date
 ropey^1.21.6.1up to date
 serde^1.01.0.197up to date
 serde_json^1.0.601.0.114up to date
 syn^1.0.732.0.52out of date
 tempfile^33.10.1up to date
 thiserror^1.0.301.0.57up to date
 tokio ⚠️^1.31.36.0maybe insecure
 toml_edit^0.190.22.6out of date
 tower-lsp^0.200.20.0up to date
 tracing^0.10.1.40up to date
 urlencoding^2.1.22.1.3up to date

Dev dependencies

(9 total, 1 outdated)

CrateRequiredLatestStatus
 assert-json-diff^2.02.0.2up to date
 criterion^0.50.5.1up to date
 dirs^4.05.0.1out of date
 futures^0.30.3.30up to date
 pretty_assertions^1.4.01.4.0up to date
 rand^0.80.8.5up to date
 regex^1.10.21.10.3up to date
 tikv-jemallocator^0.50.5.4up to date
 tower^0.4.120.4.13up to date

Crate sway-parse

Dependencies

(7 total, 1 outdated)

CrateRequiredLatestStatus
 extension-trait^1.0.11.0.2up to date
 num-bigint^0.4.30.4.4up to date
 num-traits^0.2.140.2.18up to date
 phf^0.10.10.11.2out of date
 thiserror^1.01.0.57up to date
 unicode-bidi^0.3.130.3.15up to date
 unicode-xid^0.2.20.2.4up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 assert_matches^1.5.01.5.0up to date
 insta^1.28.01.35.1up to date

Crate sway-types

Dependencies

(8 total, all up-to-date)

CrateRequiredLatestStatus
 bytecount^0.60.6.7up to date
 indexmap^2.0.02.2.3up to date
 lazy_static^1.41.4.0up to date
 num-bigint^0.4.30.4.4up to date
 num-traits^0.2.160.2.18up to date
 rustc-hash^1.1.01.1.0up to date
 serde^1.01.0.197up to date
 thiserror^11.0.57up to date

Crate sway-utils

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 serde^1.01.0.197up to date
 walkdir^2.3.32.4.0up to date

Crate swayfmt

Dependencies

(6 total, 1 outdated)

CrateRequiredLatestStatus
 anyhow^11.0.80up to date
 ropey^1.51.6.1up to date
 serde^1.01.0.197up to date
 serde_ignored^0.1.90.1.10up to date
 thiserror^1.0.301.0.57up to date
 toml^0.70.8.10out of date

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 difference^2.0.02.0.0up to date
 paste^1.01.0.14up to date
 prettydiff^0.60.6.4up to date

Crate test

Dependencies

(19 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.411.0.80up to date
 assert_matches^1.5.01.5.0up to date
 bytes^1.3.01.5.0up to date
 clap^44.5.1up to date
 colored^2.0.02.1.0up to date
 filecheck^0.50.5.0up to date
 futures^0.3.240.3.30up to date
 gag^1.01.0.0up to date
 hex^0.4.30.4.3up to date
 miden^0.3.00.3.0up to date
 prettydiff^0.60.6.4up to date
 rand^0.80.8.5up to date
 regex^1.71.10.3up to date
 revm^2.3.16.1.0out of date
 serde_json^1.0.731.0.114up to date
 textwrap^0.16.00.16.1up to date
 tokio ⚠️^1.121.36.0maybe insecure
 toml^0.70.8.10out of date
 tracing^0.10.1.40up to date

Crate sway-lsp-test-utils

Dependencies

(8 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 assert-json-diff^2.02.0.2up to date
 futures^0.30.3.30up to date
 lsp-types^0.940.95.0out of date
 serde^1.01.0.197up to date
 serde_json^1.0.601.0.114up to date
 tokio ⚠️^1.31.36.0maybe insecure
 tower^0.4.120.4.13up to date
 tower-lsp^0.200.20.0up to date

Crate test-macros

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 paste^1.01.0.14up to date
 prettydiff^0.60.6.4up 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

mdbook: XSS in mdBook's search page

RUSTSEC-2021-0001

This is a cross-post of the official security advisory. The official post contains a signed version with our PGP key, as well.

The Rust Security Response Working Group was recently notified of a security issue affecting the search feature of mdBook, which could allow an attacker to execute arbitrary JavaScript code on the page.

The CVE for this vulnerability is CVE-2020-26297.

Overview

The search feature of mdBook (introduced in version 0.1.4) was affected by a cross site scripting vulnerability that allowed an attacker to execute arbitrary JavaScript code on an user's browser by tricking the user into typing a malicious search query, or tricking the user into clicking a link to the search page with the malicious search query prefilled.

mdBook 0.4.5 fixes the vulnerability by properly escaping the search query.

Mitigations

Owners of websites built with mdBook have to upgrade to mdBook 0.4.5 or greater and rebuild their website contents with it. It's possible to install mdBook 0.4.5 on the local system with:

cargo install mdbook --version 0.4.5 --force

Acknowledgements

Thanks to Kamil Vavra for responsibly disclosing the vulnerability to us according to our security policy.

Timeline of events

All times are listed in UTC.

  • 2020-12-30 20:14 - The issue is reported to the Rust Security Response WG
  • 2020-12-30 20:32 - The issue is acknowledged and the investigation began
  • 2020-12-30 21:21 - Found the cause of the vulnerability and prepared the patch
  • 2021-01-04 15:00 - Patched version released and vulnerability disclosed

tokio: reject_remote_clients Configuration corruption

RUSTSEC-2023-0001

On Windows, configuring a named pipe server with pipe_mode will force ServerOptions::reject_remote_clients as false.

This drops any intended explicit configuration for the reject_remote_clients that may have been set as true previously.

The default setting of reject_remote_clients is normally true meaning the default is also overridden as false.

Workarounds

Ensure that pipe_mode is set first after initializing a ServerOptions. For example:

let mut opts = ServerOptions::new();
opts.pipe_mode(PipeMode::Message);
opts.reject_remote_clients(true);