Skip to content
Myr

Update vulnerability disclosure process (#6820)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Update contact point for Vulnerability disclosures * Fix RedHat Contact * Point vulnerabilities.rst to our .SECURITY file

authored by Nate Prewitt · committed by GitHub · parent ed0b1b5 · Browse files · 2 files+6 added−120 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−120 removed

  • other:+6 added−120 removed

2 files+6 added−120 removed

modified:.github/SECURITY.md+4 added-13 removed
modified:docs/community/vulnerabilities.rst+2 added-107 removed
1Vulnerability Disclosure2========================34If you think you have found a potential security vulnerability in requests,5please email `Nate <mailto:nate.prewitt@gmail.com>`_ and `Seth <mailto:@sethmichaellarson@gmail.com>`_ directly. **Do not file a public issue.**67Our PGP Key fingerprints are:89- 8722 7E29 AD9C FF5C FAC3 EA6A 44D3 FF97 B80D C864 (`@nateprewitt <https://keybase.io/nateprewitt>`_)1011- EDD5 6765 A9D8 4653 CBC8 A134 51B0 6736 1740 F5FC (`@sethmlarson <https://keybase.io/sethmlarson>`_)1213You can also contact us on `Keybase <https://keybase.io/>`_ with the14profiles above if desired.1516If English is not your first language, please try to describe the problem and17its impact to the best of your ability. For greater detail, please use your18native language and we will try our best to translate it using online services.1920Please also include the code you used to find the problem and the shortest21amount of code necessary to reproduce it.2223Please do not disclose this to anyone else. We will retrieve a CVE identifier24if necessary and give you full credit under whatever name or alias you provide.25We will only request an identifier when we have a fix and can publish it in a26release.2728We will respect your privacy and will only publicize your involvement if you29grant us permission.3031Process32-------3334This following information discusses the process the requests project follows35in response to vulnerability disclosures. If you are disclosing a36vulnerability, this section of the documentation lets you know how we will37respond to your disclosure.3839Timeline40~~~~~~~~4142When you report an issue, one of the project members will respond to you within43two days *at the outside*. In most cases responses will be faster, usually44within 12 hours. This initial response will at the very least confirm receipt45of the report.4647If we were able to rapidly reproduce the issue, the initial response will also48contain confirmation of the issue. If we are not, we will often ask for more49information about the reproduction scenario.5051Our goal is to have a fix for any vulnerability released within two weeks of52the initial disclosure. This may potentially involve shipping an interim53release that simply disables function while a more mature fix can be prepared,54but will in the vast majority of cases mean shipping a complete release as soon55as possible.5657Throughout the fix process we will keep you up to speed with how the fix is58progressing. Once the fix is prepared, we will notify you that we believe we59have a fix. Often we will ask you to confirm the fix resolves the problem in60your environment, especially if we are not confident of our reproduction61scenario.6263At this point, we will prepare for the release. We will obtain a CVE number64if one is required, providing you with full credit for the discovery. We will65also decide on a planned release date, and let you know when it is. This66release date will *always* be on a weekday.6768At this point we will reach out to our major downstream packagers to notify69them of an impending security-related patch so they can make arrangements. In70addition, these packagers will be provided with the intended patch ahead of71time, to ensure that they are able to promptly release their downstream72packages. Currently the list of people we actively contact *ahead of a public73release* is:7475- Python Maintenance Team, Red Hat (python-maint@redhat.com)76- Daniele Tricoli, Debian (@eriol)7778We will notify these individuals at least a week ahead of our planned release79date to ensure that they have sufficient time to prepare. If you believe you80should be on this list, please let one of the maintainers know at one of the81email addresses at the top of this article.8283On release day, we will push the patch to our public repository, along with an84updated changelog that describes the issue and credits you. We will then issue85a PyPI release containing the patch.8687At this point, we will publicise the release. This will involve mails to88mailing lists, Tweets, and all other communication mechanisms available to the89core team.9091We will also explicitly mention which commits contain the fix to make it easier92for other distributors and users to easily patch their own versions of requests93if upgrading is not an option.9495Previous CVEs96-------------9798- Fixed in 2.20.099 - `CVE 2018-18074 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-18074>`_100101- Fixed in 2.6.0102103 - `CVE 2015-2296 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=2015-2296>`_,104 reported by Matthew Daley of `BugFuzz <https://bugfuzz.com/>`_.105106- Fixed in 2.3.0107108 - `CVE 2014-1829 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=2014-1829>`_109110 - `CVE 2014-1830 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=2014-1830>`_4The latest vulnerability disclosure information can be found on GitHub in our5`Security Policy <https://github.com/psf/requests/blob/main/.github/SECURITY.md>`_.