|
| 1 | +# Security |
| 2 | + |
| 3 | +## Reporting a Bug |
| 4 | + |
| 5 | +All security bugs in Node.js are taken seriously and should be reported by emailing [[email protected]](mailto:[email protected]). |
| 6 | +This will be delivered to a subset of the core team who handle security issues. |
| 7 | + |
| 8 | +Your email will be acknowledged within 24 hours, and you’ll receive a more detailed response to your email within 48 |
| 9 | +hours indicating the next steps in handling your report. |
| 10 | + |
| 11 | +After the initial reply to your report, the security team will endeavor to keep you informed of the progress being made |
| 12 | +towards a fix and full announcement, and may ask for additional information or guidance surrounding the reported issue. |
| 13 | +These updates will be sent at least every five days, in practice, this is more likely to be every 24-48 hours. |
| 14 | + |
| 15 | +Security bugs in third party modules should be reported to their respective maintainers and can also be coordinated |
| 16 | +through the [Node Security Project](https://nodesecurity.io). |
| 17 | + |
| 18 | +Thank you for improving the security of Node.js. Your efforts and responsible disclosure are greatly appreciated and |
| 19 | +will be acknowledged. |
| 20 | + |
| 21 | + |
| 22 | +## Disclosure Policy |
| 23 | + |
| 24 | +Here is the security disclosure policy for Node.js |
| 25 | + |
| 26 | +- The security report is received and is assigned a primary handler. This person will coordinate the fix and release |
| 27 | +process. The problem is confirmed and a list of all affected versions is determined. Code is audited to find any |
| 28 | +potential similar problems. Fixes are prepared for all releases which are still under maintenance. These fixes are not |
| 29 | +committed to the public repository but rather held locally pending the announcement. |
| 30 | + |
| 31 | +- A suggested embargo date for this vulnerability is chosen and a CVE (Common Vulnerabilities and Exposures (CVE®)) |
| 32 | +is requested for the vulnerability. |
| 33 | + |
| 34 | +- On the embargo date, the Node.js security mailing list is sent a copy of the announcement. The changes are pushed to |
| 35 | +the public repository and new builds are deployed to nodejs.org. Within 6 hours of the mailing list being notified, a |
| 36 | +copy of the advisory will be published on the Node.js blog. |
| 37 | + |
| 38 | +- Typically the embargo date will be set 72 hours from the time the CVE is issued. However, this may vary depending on |
| 39 | +the severity of the bug or difficulty in applying a fix. |
| 40 | + |
| 41 | +- This process can take some time, especially when coordination is required with maintainers of other projects. Every |
| 42 | +effort will be made to handle the bug in as timely a manner as possible, however, it’s important that we follow the |
| 43 | +release process above to ensure that the disclosure is handled in a consistent manner. |
| 44 | + |
| 45 | + |
| 46 | +## Receiving Security Updates |
| 47 | + |
| 48 | +Security notifications will be distributed via the following methods. |
| 49 | + |
| 50 | +- [http://groups.google.com/group/nodejs-sec](http://groups.google.com/group/nodejs-sec) |
| 51 | +- [http://blog.nodejs.org](http://blog.nodejs.org) |
| 52 | + |
| 53 | + |
| 54 | +## Comments on this Policy |
| 55 | + |
| 56 | +If you have suggestions on how this process could be improved please submit a [pull request](https://github.com/joyent/node-website) |
| 57 | + |
0 commit comments