-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add cargo deny check advisories (#216)
(cherry picked from commit 024f510)
- Loading branch information
1 parent
e794b57
commit 1458019
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
all-features = true | ||
|
||
[advisories] | ||
ignore = [ | ||
# borsh 0.9.3 | ||
# Advisory: https://rustsec.org/advisories/RUSTSEC-2023-0033 | ||
# Affected versions of borsh cause undefined behavior when zero-sized-types (ZST) | ||
# are parsed and the Copy/Clone traits are not implemented/derived. | ||
# For instance if 1000 instances of a ZST are deserialized, and the ZST is not copy | ||
# (this can be achieved through a singleton), then accessing/writing to deserialized | ||
# data will cause a segmentation fault. | ||
# borsh 0.10.3 | ||
# Advisory: https://rustsec.org/advisories/RUSTSEC-2023-0033 | ||
# Affected versions of borsh cause undefined behavior when zero-sized-types (ZST) | ||
# are parsed and the Copy/Clone traits are not implemented/derived. | ||
# For instance if 1000 instances of a ZST are deserialized, and the ZST is not copy | ||
# (this can be achieved through a singleton), then accessing/writing to deserialized | ||
# data will cause a segmentation fault. | ||
"RUSTSEC-2023-0033", | ||
|
||
# ed25519-dalek 1.0.1 | ||
# Advisory: https://rustsec.org/advisories/RUSTSEC-2022-0093 | ||
# Versions of `ed25519-dalek` prior to v2.0 model private and public keys as | ||
# separate types which can be assembled into a `Keypair`, and also provide APIs | ||
# for serializing and deserializing 64-byte private/public keypairs. | ||
"RUSTSEC-2022-0093", | ||
|
||
# atty 0.2.14 | ||
# Advisory: https://rustsec.org/advisories/RUSTSEC-2021-0145 | ||
# On windows, `atty` dereferences a potentially unaligned pointer. | ||
"RUSTSEC-2021-0145", | ||
] |