2018-11-02 04:24:54 +00:00
|
|
|
|
# Security
|
|
|
|
|
|
2020-07-27 04:54:58 +00:00
|
|
|
|
## Reporting a bug in Node.js
|
2018-11-02 04:24:54 +00:00
|
|
|
|
|
2019-09-23 23:03:26 +00:00
|
|
|
|
Report security bugs in Node.js via [HackerOne](https://hackerone.com/nodejs).
|
2018-11-02 04:24:54 +00:00
|
|
|
|
|
2021-11-25 10:49:30 +00:00
|
|
|
|
Your report will be acknowledged within 5 days, and you’ll receive a more
|
|
|
|
|
detailed response to your report within 10 days indicating the next steps in
|
2019-09-23 23:03:26 +00:00
|
|
|
|
handling your submission.
|
2018-11-02 04:24:54 +00:00
|
|
|
|
|
2019-09-23 23:03:26 +00:00
|
|
|
|
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,
|
|
|
|
|
and may ask for additional information or guidance surrounding the reported
|
2020-04-17 12:45:50 +00:00
|
|
|
|
issue.
|
2018-11-02 04:24:54 +00:00
|
|
|
|
|
2020-07-27 04:54:58 +00:00
|
|
|
|
### Node.js bug bounty program
|
2018-11-02 04:24:54 +00:00
|
|
|
|
|
2019-09-23 23:03:26 +00:00
|
|
|
|
The Node.js project engages in an official bug bounty program for security
|
|
|
|
|
researchers and responsible public disclosures. The program is managed through
|
|
|
|
|
the HackerOne platform. See <https://hackerone.com/nodejs> for further details.
|
2018-11-02 04:24:54 +00:00
|
|
|
|
|
2020-07-27 04:54:58 +00:00
|
|
|
|
## Reporting a bug in a third party module
|
2018-11-02 04:24:54 +00:00
|
|
|
|
|
2019-09-23 23:03:26 +00:00
|
|
|
|
Security bugs in third party modules should be reported to their respective
|
2019-12-02 06:12:44 +00:00
|
|
|
|
maintainers and should also be coordinated through the Node.js Ecosystem
|
|
|
|
|
Security Team via [HackerOne](https://hackerone.com/nodejs-ecosystem).
|
2018-11-02 04:24:54 +00:00
|
|
|
|
|
2019-09-23 23:03:26 +00:00
|
|
|
|
Details regarding this process can be found in the
|
2021-10-30 22:40:34 +00:00
|
|
|
|
[Security Working Group repository](https://github.com/nodejs/security-wg/blob/HEAD/processes/third_party_vuln_process.md).
|
2018-11-02 04:24:54 +00:00
|
|
|
|
|
2019-09-23 23:03:26 +00:00
|
|
|
|
Thank you for improving the security of Node.js and its ecosystem. Your efforts
|
|
|
|
|
and responsible disclosure are greatly appreciated and will be acknowledged.
|
|
|
|
|
|
2020-07-27 04:54:58 +00:00
|
|
|
|
## Disclosure policy
|
2019-09-23 23:03:26 +00:00
|
|
|
|
|
|
|
|
|
Here is the security disclosure policy for Node.js
|
|
|
|
|
|
|
|
|
|
* The security report is received and is assigned a primary handler. This
|
|
|
|
|
person will coordinate the fix and release process. The problem is confirmed
|
|
|
|
|
and a list of all affected versions is determined. Code is audited to find
|
|
|
|
|
any potential similar problems. 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.
|
|
|
|
|
|
|
|
|
|
* A suggested embargo date for this vulnerability is chosen and a CVE (Common
|
|
|
|
|
Vulnerabilities and Exposures (CVE®)) is requested for the vulnerability.
|
|
|
|
|
|
|
|
|
|
* On the embargo date, the Node.js security mailing list is sent a copy of the
|
|
|
|
|
announcement. The changes are pushed to the public repository and new builds
|
|
|
|
|
are deployed to nodejs.org. Within 6 hours of the mailing list being
|
|
|
|
|
notified, a copy of the advisory will be published on the Node.js blog.
|
|
|
|
|
|
|
|
|
|
* Typically the embargo date will be set 72 hours from the time the CVE is
|
|
|
|
|
issued. However, this may vary depending on the severity of the bug or
|
|
|
|
|
difficulty in applying a fix.
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
2020-07-27 04:54:58 +00:00
|
|
|
|
## Receiving security updates
|
2019-09-23 23:03:26 +00:00
|
|
|
|
|
|
|
|
|
Security notifications will be distributed via the following methods.
|
|
|
|
|
|
|
|
|
|
* <https://groups.google.com/group/nodejs-sec>
|
|
|
|
|
* <https://nodejs.org/en/blog/>
|
|
|
|
|
|
2020-07-27 04:54:58 +00:00
|
|
|
|
## Comments on this policy
|
2019-09-23 23:03:26 +00:00
|
|
|
|
|
|
|
|
|
If you have suggestions on how this process could be improved please submit a
|
|
|
|
|
[pull request](https://github.com/nodejs/nodejs.org) or
|
|
|
|
|
[file an issue](https://github.com/nodejs/security-wg/issues/new) to discuss.
|