forked from rust-lang/prev.rust-lang.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
security.html
173 lines (148 loc) · 9.05 KB
/
security.html
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
---
layout: default
title: Rust Security Policy · The Rust Programming Language
---
<h1>Rust Security Policy</h1>
<h2>Reporting a Bug</h2>
<p>Safety is one of the core principles of Rust, and to that end, we would
like to ensure that Rust has a secure implementation. Thank you for taking the
time to responsibly disclose any issues you find.</p>
<p>All security bugs in the Rust distribution should be reported by email to
<a href="mailto:[email protected]">[email protected]</a>. This list
is delivered to a small security team. Your email will be acknowledged within 24
hours, and you'll receive a more detailed response to your email within 48
hours indicating the next steps in handling your report. If you would like, you
can encrypt your report using <a href="rust-security-team-key.gpg.ascii">our public key</a>.
This key is also <a
href="https://pgp.mit.edu/pks/lookup?op=vindex&search=0xEFB9860AE7520DAC">On
MIT's keyserver</a> and <a href="#key">reproduced below</a>.
<p>This email address receives a large amount of spam, so be sure to use a
descriptive subject line to avoid having your report be missed. After the
initial reply to your report, the security team will endeavor to keep you
informed of the progress being made towards a fix and full announcement. As
recommended by <a href="https://en.wikipedia.org/wiki/RFPolicy">RFPolicy</a>,
these updates will be sent at least every five days. In reality, this is more
likely to be every 24-48 hours.</p>
<p>If you have not received a reply to your email within 48 hours, or have not
heard from the security team for the past five days, there are a few steps you
can take:</p>
<ul>
<li>Contact the current security coordinator (<a href="mailto:[email protected]">Steve Klabnik</a>
(<a href="https://pgp.mit.edu/pks/lookup?op=vindex&search=0xDAE717EFE9424541">public key</a>)) directly.</li>
<li>Contact the back-up contact (<a href="mailto:[email protected]">Brian Anderson</a>
(<a href="https://pgp.mit.edu/pks/lookup?op=vindex&search=0x16457A6368CFF26F">public key</a>)) directly.</li>
<li>Post on the <a href="https://internals.rust-lang.org/">internals forums</a>
or ask in the #rust-internals IRC room on irc.mozilla.org.</li>
</ul>
<p>Please note that the discussion forums and #rust-internals IRC channel are
public areas. When escalating in these venues, please do not discuss your
issue. Simply say that you're trying to get a hold of someone from the security
team.</p>
<h2>Disclosure Policy</h2>
<p>The Rust project has a 5 step disclosure process.</p>
<ol>
<li>The security report is received and is assigned a primary handler. This
person will coordinate the fix and release process.</li>
<li>The problem is confirmed and a list of all affected versions is determined.</li>
<li>Code is audited to find any potential similar problems.</li>
<li>Fixes are prepared for all releases which are still under maintenance.
These fixes are not committed to the public repository but rather held locally
pending the announcement.</li>
<li>On the embargo date, the <a href="https://groups.google.com/forum/#!forum/rustlang-security-announcements">
Rust security mailing list</a> is sent a copy of the announcement. The changes
are pushed to the public repository and new builds are deployed to
rust-lang.org. Within 6 hours of the mailing list being notified, a copy of
the advisory will be published on the Rust blog.</li> </ol>
<p>This process can take some time, especially when coordination is required
with maintainers of other projects. Every effort will be made to handle the bug
in as timely a manner as possible, however it's important that we follow the
release process above to ensure that the disclosure is handled in a consistent
manner.</p>
<h2>Receiving Security Updates</h2>
<p>The best way to receive all the security announcements is to subscribe to
the <a
href="https://groups.google.com/forum/#!forum/rustlang-security-announcements">Rust
security announcements mailing list</a>. The mailing list is very low traffic,
and it receives the public notifications the moment the embargo is lifted.</p>
<h3>Advance notification</h3>
<p>We will announce vulnerabilities 72 hours before the embargo is lifted to
<a href="http://oss-security.openwall.org/wiki/mailing-lists/distros">distros@openwall</a>,
so that Linux distributions can update their packages.</p>
<h2>Comments on This Policy</h2>
<p>If you have any suggestions to improve this policy, please send an email to
<a href="mailto:[email protected]">[email protected]</a>.</p>
<h2 id="key">Plaintext PGP Key</h2>
<pre><code>-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFVT5MsBEADKZtOjBhitDx1aYt2ljz1+MUhnmsnJy8duMe6T/b30rEuXTLH8
6INTYoU08qw7m+7YmxAlpdNHZW3VL0csYiaOOKsHJ4KuUB0Phjnm1ePjE/Q3g7el
H6TNXQWsjy3V9E0cI3r5En0SDnBmwZoYuE0/mf9Gc313DvSjipFpyXS0R+D3RiPz
t4LcDWDS7XPRgp9LJ4mWDeYI4GitKfKxvSYrQpLjdNUSmehJ62rZY+i/Mox+zHEQ
QCrjfKttkoVs6fvLSKJTUGsy4eSViSLLYR8ty2SC/o9u/EG17dfX/EeEbo9yu2iK
lLo+W58RvmdAtK6Y9MSX2rzlB2akbbEp6LYDaBKDlWBOAT/qQdMmHmUOWjV/8PSi
Y03Cmx0v/6N3bv617iRe5MXIih7KZH4uYzf7eoCDA7LoopkI84xQIkciKblIGzpe
0hCOdUYnf+uC3EWmP/e4TA9M7OjiSezOjsedI41ryRKMgpmdx1kHBqsZZVKIGHaf
mdL/MxlvZrzfgbV8/6e5VhumPBWqih1HwvEzmNSdvFZV8/BgXqhlDidzGNa3eKIT
1iTYX/YVikBLP0HsvSNwrtOZIjmeiMMivf4daH9bcySthp6PyAcjFa7pcS+GmPrz
RJh3wAX1fpiaP/HQaIQJzvYHwpCwjFVt5/WpPLBB1b6miUebFpz5oZfApwARAQAB
tDZSdXN0IExhbmd1YWdlIChTZWN1cml0eSBUZWFtKSA8c2VjdXJpdHlAcnVzdC1s
YW5nLm9yZz6JAjgEEwECACIFAlVT5MsCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4B
AheAAAoJEO+5hgrnUg2sEsIQAMff5YzBLQb+6Z2euj/+7tcKdAflvTGToHiRZ4xK
7mhZs5ytQ0/qBKLJ51lM3qo33MUXk8Yx6uQxJjLV/3Fjr/In7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