Repository navigation
Expand file tree
/
Copy pathdeny.toml
More file actions
142 lines (128 loc) · 5.18 KB
/
Copy pathdeny.toml
File metadata and controls
142 lines (128 loc) · 5.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# This file is automatically generated from the templates in stackabletech/operator-templating
# DO NOT MANUALLY EDIT THIS FILE
# This file is the source of truth for all our repos!
# This includes repos not templated by operator-templating, please copy/paste the file for this repos.
#
# TIP: Use "cargo deny check" to check if everything is fine
[graph]
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "aarch64-apple-darwin" },
{ triple = "x86_64-apple-darwin" },
]
[advisories]
yanked = "deny"
ignore = [
# https://rustsec.org/advisories/RUSTSEC-2023-0071
# "rsa" crate: Marvin Attack: potential key recovery through timing sidechannel
#
# No patch is yet available, however work is underway to migrate to a fully constant-time implementation.
# So we need to accept this, as of SDP 26.3 we are "only" using the crate to create private +
# public key pairs used by webhooks, such as conversion or mutating webhooks.
#
# https://github.com/RustCrypto/RSA/issues/19 is the tracking issue
"RUSTSEC-2023-0071",
# https://rustsec.org/advisories/RUSTSEC-2024-0436
# The "paste" crate is no longer maintained because the owner states that the implementation is
# finished. There are at least two (forked) alternatives which state to be maintained. They'd
# need to be vetted before a potential switch. Additionally, they'd need to be in a maintained
# state for a couple of years to provide any benefit over using "paste".
#
# This crate is only used in a single place in the xtask package inside the declarative
# "write_crd" macro. The impact of vulnerabilities, if any, should be fairly minimal.
#
# See thread: https://users.rust-lang.org/t/paste-alternatives/126787/4
#
# This can only be removed again if we decide to use a different crate.
"RUSTSEC-2024-0436",
# https://rustsec.org/advisories/RUSTSEC-2026-0097
# rand 0.8.5 is unsound when log+thread_rng features are enabled and a custom logger calls rand::rng().
#
# This version is pulled in transitively via num-bigint-dig -> rsa -> stackable-certs and cannot be
# updated until the upstream rsa crate bumps its rand dependency.
"RUSTSEC-2026-0097",
# https://rustsec.org/advisories/RUSTSEC-2026-0173
# The author of `proc-macro-error2` has [confirmed](https://github.com/GnomedDev/proc-macro-error-2/issues/17#issuecomment-4643215473)
# that the crate is no longer maintained and recommends that users migrate away from it.
#
# There currently is no way for us to negate this advisory, because that crate is not used
# directly by us. We need to wait for new versions of oci-spec and getset. See the following
# issue which tracks moving to a newer getset version: https://github.com/youki-dev/oci-spec-rs/issues/340
#
# proc-macro-error2 v2.0.1
# └── getset v0.1.6
# └── oci-spec v0.9.0
# └── boil v0.2.1
#
# Alternate crates are:
#
# - https://crates.io/crates/manyhow
# - https://github.com/SergioBenitez/proc-macro2-diagnostics
"RUSTSEC-2026-0173",
# https://rustsec.org/advisories/RUSTSEC-2026-0543
# The chrono crate is unmaintained; all versions are affected.
#
# chrono v0.4.45
# └── built v0.8.1
#
# We already use jiff in a couple of places, but chrono comes in through an indirect dependency.
# Ideally upstream should switch to jiff (or time, which is also a valid alternative).
"RUSTSEC-2026-0543",
# https://rustsec.org/advisories/RUSTSEC-2026-0542
# Because chrono is now unmaintained and humantime wraps chrono, it is also unmaintained; all
# versions are affected.
#
# humantime v2.4.0
# └── stackable-webhook v0.11.0
# └── stackable-operator v0.122.0
#
# humantime is only used in a single place to format timestamps according to RFC 3339. We
# already switched to jiff in https://github.com/stackabletech/operator-rs/pull/1335,
# but this change needs to be rolled out across all operators.
"RUSTSEC-2026-0542",
]
[bans]
multiple-versions = "allow"
[licenses]
unused-allowed-license = "allow"
confidence-threshold = 1.0
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
"ISC",
"LicenseRef-ring",
"LicenseRef-webpki",
"MIT",
"MPL-2.0",
"OpenSSL", # Needed for the ring and/or aws-lc-sys crate. See https://github.com/stackabletech/operator-templating/pull/464 for details
"Unicode-3.0",
"Unicode-DFS-2016",
"Zlib",
"Unlicense",
"Apache-2.0 WITH LLVM-exception", # Needed for ar_archive_writer crate (transitive dependency)
]
private = { ignore = true }
[[licenses.clarify]]
name = "ring"
expression = "LicenseRef-ring"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 },
]
[[licenses.clarify]]
name = "webpki"
expression = "LicenseRef-webpki"
license-files = [
{ path = "LICENSE", hash = 0x001c7e6c },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-git = [
"https://github.com/kube-rs/kube-rs",
]
[sources.allow-org]
github = ["stackabletech"]