|
| 1 | +--- |
| 2 | +layout: default |
| 3 | +title: Security; The Rust Programming Language |
| 4 | +--- |
| 5 | + |
| 6 | +<h2>Reporting a Bug</h2> |
| 7 | + |
| 8 | +<p>Safety is one of the core principles of Rust, and to that end, we would like to |
| 9 | +ensure that Rust has a secure implementation. Thank you for taking the time to |
| 10 | +responsibly disclose any issues you find.</p> |
| 11 | + |
| 12 | +<p>All security bugs in the Rust distribution should be reported by email to |
| 13 | + |
| 14 | +is delivered to small security team. Your email will be acknowledged within 24 |
| 15 | +hours, and you'll receive a more detailed response to your email within 48 |
| 16 | +hours indicating the next steps in handling your report. If you would like, you |
| 17 | +can encrypt your report using <a href="rust-key.gpg.ascii">our public key</a>. |
| 18 | +This key is also <a |
| 19 | +href="https://pgp.mit.edu/pks/lookup?op=vindex&search=0xEFB9860AE7520DAC">On |
| 20 | +MIT's keyserver</a> and <a href="#key">reproduced below</a>. |
| 21 | + |
| 22 | +<p>This email address receives a large amount of spam, so be sure to use a |
| 23 | +descriptive subject line to avoid having your report be missed. After the |
| 24 | +initial reply to your report, the security team will endeavor to keep you |
| 25 | +informed of the progress being made towards a fix and full announcement. As |
| 26 | +recommended by <a href="https://en.wikipedia.org/wiki/RFPolicy">RFPolicy</a>, |
| 27 | +these updates will be sent at least every five days. In reality, this is more |
| 28 | +likely to be every 24-48 hours.</p> |
| 29 | + |
| 30 | +<p>If you have not received a reply to your email within 48 hours, or have not |
| 31 | +heard from the security team for the past five days, there are a few steps you |
| 32 | +can take:</p> |
| 33 | + |
| 34 | +<ul> |
| 35 | + <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> |
| 36 | + <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> |
| 37 | + <li>Post on the <a href="https://internals.rust-lang.org/">internals forums</a> or ask in the #rust-internals IRC room on MozNet.</li> |
| 38 | +</ul> |
| 39 | + |
| 40 | +<p>Please note that the discussion forums and #rust-internals IRC channel are |
| 41 | +public areas. When escalating in these venues, please do not discuss your |
| 42 | +issue. Simply say that you're trying to get a hold of someone from the security |
| 43 | +team.</p> |
| 44 | + |
| 45 | +<h2>Disclosure Policy</h2> |
| 46 | + |
| 47 | +<p>The Rust project has a 5 step disclosure process.</p> |
| 48 | + |
| 49 | +<ol> |
| 50 | +<li>The security report is received and is assigned a primary handler. This |
| 51 | +person will coordinate the fix and release process.</li> |
| 52 | + |
| 53 | +<li>The problem is confirmed and a list of all affected versions is determined.</li> |
| 54 | + |
| 55 | +<li>Code is audited to find any potential similar problems.</li> |
| 56 | + |
| 57 | +<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> |
| 58 | + |
| 59 | +<li>On the embargo date, the Rust security mailing list 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> |
| 60 | +</ol> |
| 61 | + |
| 62 | +<p>This process can take some time, especially when coordination is required |
| 63 | +with maintainers of other projects. Every effort will be made to handle the bug |
| 64 | +in as timely a manner as possible, however it's important that we follow the |
| 65 | +release process above to ensure that the disclosure is handled in a consistent |
| 66 | +manner.</p> |
| 67 | + |
| 68 | +<h2>Receiving Security Updates</h2> |
| 69 | + |
| 70 | +<p>The best way to receive all the security announcements is to subscribe to |
| 71 | +the Rust security mailing list. The mailing list is very low traffic, and it |
| 72 | +receives the public notifications the moment the embargo is lifted.</p> |
| 73 | + |
| 74 | +<h3>Advance notification</h3> |
| 75 | + |
| 76 | +<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> |
| 77 | + |
| 78 | +<h2>Comments on This Policy</h2> |
| 79 | + |
| 80 | +<p>If you have any suggestions to improve this policy, please send an email to |
| 81 | + |
| 82 | + |
| 83 | +<h2 id="key">Plaintext PGP Key</h2> |
| 84 | + |
| 85 | +<pre><code>-----BEGIN PGP PUBLIC KEY BLOCK----- |
| 86 | +Version: GnuPG v1 |
| 87 | + |
| 88 | +mQINBFJEwMkBEADlPACa2K7reD4x5zd8afKx75QYKmxqZwywRbgeICeD4bKiQoJZ |
| 89 | +dUjmn1LgrGaXuBMKXJQhyA34e/1YZel/8et+HPE5XpljBfNYXWbVocE1UMUTnFU9 |
| 90 | +CKXa4AhJ33f7we2/QmNRMUifw5adPwGMg4D8cDKXk02NdnqQlmFByv0vSaArR5kn |
| 91 | +gZKnLY6o0zZ9Buyy761Im/ShXqv4ATUgYiFc48z33G4j+BDmn0ryGr1aFdP58tHp |
| 92 | +gjWtLZs0iWeFNRDYDje6ODyu/MjOyuAWb2pYDH47Xu7XedMZzenH2TLM9yt/hyOV |
| 93 | +xReDPhvoGkaO8xqHioJMoPQi1gBjuBeewmFyTSPS4deASukhCFOcTsw/enzJagiS |
| 94 | +ZAq6Imehduke+peAL1z4PuRmzDPO2LPhVS7CDXtuKAYqUV2YakTq8MZUempVhw5n |
| 95 | +LqVaJ5/XiyOcv405PnkT25eIVVVghxAgyz6bOU/UMjGQYlkUxI7YZ9tdreLlFyPR |
| 96 | +OUL30E8q/aCd4PGJV24yJ1uit+yS8xjyUiMKm4J7oMP2XdBN98TUfLGw7SKeAxyU |
| 97 | +92BHlxg7yyPfI4TglsCzoSgEIV6xoGOVRRCYlGzSjUfz0bCMCclhTQRBkegKcjB3 |
| 98 | +sMTyG3SPZbjTlCqrFHy13e6hGl37Nhs8/MvXUysq2cluEISn5bivTKEeeQARAQAB |
| 99 | +tERSdXN0IExhbmd1YWdlIChUYWcgYW5kIFJlbGVhc2UgU2lnbmluZyBLZXkpIDxy |
| 100 | +dXN0LWtleUBydXN0LWxhbmcub3JnPokCOAQTAQIAIgUCUkTA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| 145 | +92SN3dKqaoSBvzNGY5WT3CsqxDtik37kR3f9/DHpABEBAAGJBD4EGAECAAkFAlSP |
| 146 | +ZHgCGwICKQkQhauW5vob5f7BXSAEGQECAAYFAlSPZHgACgkQXLSpNHs7CdwemA/+ |
| 147 | +KFoGuFqU0uKT9qblN4ugRyil5itmTRVffl4tm5OoWkW8uDnu7Ue3vzdzy+9NV8X2 |
| 148 | +wRG835qjXijWP++AGuxgW6LB9nV5OWiKMCHOWnUjJQ6pNQMAgSN69QzkFXVF/q5f |
| 149 | +bkma9TgSbwjrVMyPzLSRwq7HsT3V02Qfr4cyq39QeILGy/NHW5z6LZnBy3BaVSd0 |
| 150 | +lGjCEc3yfH5OaB79na4W86WCV5n4IT7cojFM+LdL6P46RgmEtWSG3/CDjnJl6BLR |
| 151 | +WqatRNBWLIMKMpn+YvOOL9TwuP1xbqWr1vZ66wksm53NIDcWhptpp0KEuzbU0/Dt |
| 152 | +OltBhcX8tOmO36LrSadX9rwckSETCVYklmpAHNxPml011YNDThtBidvsicw1vZwR |
| 153 | +HsXn+txlL6RAIRN+J/Rw3uOiJAqN9Qgedpx2q+E15t8MiTg/FXtB9SysnskFT/BH |
| 154 | +z0USNKJUY0btZBw3eXWzUnZf59D8VW1M/9JwznCHAx0c9wy/gRDiwt9w4RoXryJD |
| 155 | +VAwZg8rwByjldoiThUJhkCYvJ0R3xH3kPnPlGXDW49E9R8C2umRC3cYOL4U9dOQ1 |
| 156 | +5hSlYydF5urFGCLIvodtE9q80uhpyt8L/5jj9tbwZWv6JLnfBquZSnCGqFZRfXlb |
| 157 | +Jphk9+CBQWwiZSRLZRzqQ4ffl4xyLuolx01PMaatkQbRaw/+JpgRNlurKQ0PsTrO |
| 158 | +8tztO/tpBBj/huc2DGkSwEWvkfWElS5RLDKdoMVs/j5CLYUJzZVikUJRm7m7b+OA |
| 159 | +P3W1nbDhuID+XV1CSBmGifQwpoPTys21stTIGLgznJrIfE5moFviOLqD/LrcYlsq |
| 160 | +CQg0yleu7SjOs//8dM3mC2FyLaE/dCZ8l2DCLhHw0+ynyRAvSK6aGCmZz6jMjmYF |
| 161 | +MXgiy7zESksMnVFMulIJJhR3eB0wx2GitibjY/ZhQ7tD3i0yy9ILR07dFz4pgkVM |
| 162 | +afxpVR7fmrMZ0t+yENd+9qzyAZs0ksxORoc2ze90SCx2jwEX/3K+m4I0hP2H/w5W |
| 163 | +gqdvuRLiqf+4BGW4zqWkLLlNIe/okt0r82SwHtDN0Ui1asmZTGj6sm8SXtwx+5cE |
| 164 | +38MttWqjDiibQOSthRVcETByRYM8KcjYSUCi4PoBc3NpDONkFbZm6XofR/f5mTcl |
| 165 | +2jDw6fIeVc4Hd1jBGajNzEqtneqqbdAkPQaLsuD2TMkQfTDJfE/IljwjrhDa9Mi+ |
| 166 | +odtnMWq8vlwOZZ24/8/BNK5qXuCYL67O7AJB4ZQ6BT+g4z96iRLbupzu/XJyXkQF |
| 167 | +rOY/Ghegvn7fDrnt2KC9MpgeFBXzUp+k5rzUdF8jbCx5apVjA1sWXB9Kh3L+DUwF |
| 168 | +Mve696B5tlHyc1KxjHR6w9GRsh4= |
| 169 | +=5FXw |
| 170 | +-----END PGP PUBLIC KEY BLOCK-----</code></pre> |
0 commit comments