cargo audit updates (#3063)

## Issue Addressed
Closes #3008 and updates `regex` to solve https://rustsec.org/advisories/RUSTSEC-2022-0013
This commit is contained in:
Divma 2022-03-08 19:48:12 +00:00
parent 381d0ece3c
commit 527dfa4893
7 changed files with 8 additions and 8 deletions

4
Cargo.lock generated
View File

@ -4915,9 +4915,9 @@ dependencies = [
[[package]] [[package]]
name = "regex" name = "regex"
version = "1.5.4" version = "1.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286"
dependencies = [ dependencies = [
"aho-corasick", "aho-corasick",
"memchr", "memchr",

View File

@ -161,7 +161,7 @@ arbitrary-fuzz:
# Runs cargo audit (Audit Cargo.lock files for crates with security vulnerabilities reported to the RustSec Advisory Database) # Runs cargo audit (Audit Cargo.lock files for crates with security vulnerabilities reported to the RustSec Advisory Database)
audit: audit:
cargo install --force cargo-audit cargo install --force cargo-audit
cargo audit --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2020-0159 --ignore RUSTSEC-2022-0009 cargo audit --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2020-0159
# Runs `cargo vendor` to make sure dependencies can be vendored for packaging, reproducibility and archival purpose. # Runs `cargo vendor` to make sure dependencies can be vendored for packaging, reproducibility and archival purpose.
vendor: vendor:

View File

@ -35,7 +35,7 @@ tiny-keccak = "2.0.2"
task_executor = { path = "../../common/task_executor" } task_executor = { path = "../../common/task_executor" }
rand = "0.7.3" rand = "0.7.3"
directory = { path = "../../common/directory" } directory = { path = "../../common/directory" }
regex = "1.3.9" regex = "1.5.5"
strum = { version = "0.21.0", features = ["derive"] } strum = { version = "0.21.0", features = ["derive"] }
superstruct = "0.4.0" superstruct = "0.4.0"
prometheus-client = "0.15.0" prometheus-client = "0.15.0"

View File

@ -18,6 +18,6 @@ serde_yaml = "0.8.13"
slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_trace"] } slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_trace"] }
types = { path = "../../consensus/types" } types = { path = "../../consensus/types" }
validator_dir = { path = "../validator_dir" } validator_dir = { path = "../validator_dir" }
regex = "1.3.9" regex = "1.5.5"
rpassword = "5.0.0" rpassword = "5.0.0"
directory = { path = "../directory" } directory = { path = "../directory" }

View File

@ -11,4 +11,4 @@ git-version = "0.3.4"
target_info = "0.1.0" target_info = "0.1.0"
[dev-dependencies] [dev-dependencies]
regex = "1" regex = "1.5.5"

View File

@ -19,5 +19,5 @@ lighthouse_metrics = { path = "../lighthouse_metrics" }
slog = "2.5.2" slog = "2.5.2"
store = { path = "../../beacon_node/store" } store = { path = "../../beacon_node/store" }
lazy_static = "1.4.0" lazy_static = "1.4.0"
regex = "1" regex = "1.5.5"
sensitive_url = { path = "../sensitive_url" } sensitive_url = { path = "../sensitive_url" }

View File

@ -39,7 +39,7 @@ derivative = "2.1.1"
rusqlite = { version = "0.25.3", features = ["bundled"], optional = true } rusqlite = { version = "0.25.3", features = ["bundled"], optional = true }
arbitrary = { version = "1.0", features = ["derive"], optional = true } arbitrary = { version = "1.0", features = ["derive"], optional = true }
eth2_serde_utils = "0.1.1" eth2_serde_utils = "0.1.1"
regex = "1.3.9" regex = "1.5.5"
lazy_static = "1.4.0" lazy_static = "1.4.0"
parking_lot = "0.11.1" parking_lot = "0.11.1"
itertools = "0.10.0" itertools = "0.10.0"