Skip to content

Commit

Permalink
cargo: pin regex crate version
Browse files Browse the repository at this point in the history
To fix RUSTSEC-2022-0013
Advisory: https://rustsec.org/advisories/RUSTSEC-2022-0013

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
  • Loading branch information
bergwolf committed Mar 9, 2022
1 parent 4594de8 commit 2d5ee2f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 22 deletions.
36 changes: 14 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ libc = "0.2"
vmm-sys-util = ">=0.9.0"
clap = "2.33"
flexi_logger = { version = "0.17" }
# pin regex to fix RUSTSEC-2022-0013
regex = ">=1.5.5"
serde = { version = ">=1.0.27", features = ["serde_derive", "rc"] }
serde_json = "1.0.51"
serde_with = { version = "1.6.0", features = ["macros"] }
Expand Down
2 changes: 2 additions & 0 deletions app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ build = "build.rs"
built = { version = "=0.4.3", features = ["chrono", "git2"] }

[dependencies]
# pin regex to fix RUSTSEC-2022-0013
regex = ">=1.5.5"
flexi_logger = { version = "0.17" }
libc = "0.2"
log = "0.4"
Expand Down

0 comments on commit 2d5ee2f

Please sign in to comment.