Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix cargo audit #13716

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ ignore = [
# `chrono` also suffers from a similar vulnerability ([`RUSTSEC-2020-0159`](https://rustsec.org/advisories/RUSTSEC-2020-0159),
# but it's already patched in `0.4.20` by rewriting vulnerable C function in Rust).
"RUSTSEC-2020-0071",

# https://github.com/risingwavelabs/risingwave/issues/11842
"RUSTSEC-2023-0052",

# It's impossible to get rid of OpenSSL (or more accurately, the `rsa` crate), and no patch is yet available.
"RUSTSEC-2023-0071",
]
7 changes: 2 additions & 5 deletions ci/scripts/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ echo "--- Show sccache stats"
sccache --show-stats
sccache --zero-stats

# RUSTSEC-2023-0052: https://github.com/risingwavelabs/risingwave/issues/11842
# RUSTSEC-2023-0071 https://github.com/risingwavelabs/risingwave/issues/13703
# Config file: .cargo/audit.toml
echo "--- Run audit check"
cargo audit \
--ignore RUSTSEC-2023-0052 \
--ignore RUSTSEC-2023-0071
cargo audit
Loading