Skip to content
Myr

Merge pull request #2497 from Lukasa/secprocess

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

Requests security release policy

authored by Cory Benfield · committed by Cory Benfield · parents e95e173, b7e3370 · Browse files · 3 files+106 added−36 removed
This commit

State

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

Diff stats

3 files+106 added−36 removed

  • other:+106 added−36 removed

3 files+106 added−36 removed

modified:docs/community/support.rst-36 removed
19 unmodified lines
20`@kennethreitz <https://twitter.com/kennethreitz>`_,21`@sigmavirus24 <https://twitter.com/sigmavirus24>`_, or22`@lukasaoz <https://twitter.com/lukasaoz>`_.2324Vulnerability Disclosure25------------------------2627If you think you have found a potential security vulnerability in requests,28please email `sigmavirus24 <mailto:graffatcolmingov@gmail.com>`_ and29`Lukasa <mailto:cory@lukasa.co.uk>`_ directly. **Do not file a public issue.**3031Our PGP Key fingerprints are:3233- 0161 BB7E B208 B5E0 4FDC 9F81 D9DA 0A04 9113 F853 (@sigmavirus24)3435- 90DC AE40 FEA7 4B14 9B70 662D F25F 2144 EEC1 373D (@lukasa)3637If English is not your first language, please try to describe the problem and38its impact to the best of your ability. For greater detail, please use your native39language and we will try our best to translate it using online services.4041Please also include the code you used to find the problem and the shortest amount42of code necessary to reproduce it.4344Please do not disclose this to anyone else. We will retrieve a CVE identifier if45necessary and give you full credit under whatever name or alias you provide.46We will only request an identifier when we have a fix and can publish it in a release.4748We will respect your privacy and will only publicize your involvement if you grant49us permission.5051Previous CVEs52~~~~~~~~~~~~~5354- Fixed in 2.3.05556 - `CVE 2014-1829 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2014-1829>`_5758 - `CVE 2014-1830 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2014-1830>`_5924File an Issue25-------------2627If you notice some unexpected behaviour in Requests, or want to see support
24 unmodified lines
added:docs/community/vulnerabilities.rst+105 added
1Vulnerability Disclosure2========================34If you think you have found a potential security vulnerability in requests,5please email `sigmavirus24 <mailto:graffatcolmingov@gmail.com>`_ and6`Lukasa <mailto:cory@lukasa.co.uk>`_ directly. **Do not file a public issue.**78Our PGP Key fingerprints are:910- 0161 BB7E B208 B5E0 4FDC 9F81 D9DA 0A04 9113 F853 (@sigmavirus24)1112- 90DC AE40 FEA7 4B14 9B70 662D F25F 2144 EEC1 373D (@lukasa)1314If English is not your first language, please try to describe the problem and15its impact to the best of your ability. For greater detail, please use your16native language and we will try our best to translate it using online services.1718Please also include the code you used to find the problem and the shortest19amount of code necessary to reproduce it.2021Please do not disclose this to anyone else. We will retrieve a CVE identifier22if necessary and give you full credit under whatever name or alias you provide.23We will only request an identifier when we have a fix and can publish it in a24release.2526We will respect your privacy and will only publicize your involvement if you27grant us permission.2829Process30-------3132This following information discusses the process the requests project follows33in response to vulnerability disclosures. If you are disclosing a34vulnerability, this section of the documentation lets you know how we will35respond to your disclosure.3637Timeline38~~~~~~~~3940When you report an issue, one of the project members will respond to you within41two days *at the outside*. In most cases responses will be faster, usually42within 12 hours. This initial response will at the very least confirm receipt43of the report.4445If we were able to rapidly reproduce the issue, the initial response will also46contain confirmation of the issue. If we are not, we will often ask for more47information about the reproduction scenario.4849Our goal is to have a fix for any vulnerability released within two weeks of50the initial disclosure. This may potentially involve shipping an interim51release that simply disables function while a more mature fix can be prepared,52but will in the vast majority of cases mean shipping a complete release as soon53as possible.5455Throughout the fix process we will keep you up to speed with how the fix is56progressing. Once the fix is prepared, we will notify you that we believe we57have a fix. Often we will ask you to confirm the fix resolves the problem in58your environment, especially if we are not confident of our reproduction59scenario.6061At this point, we will prepare for the release. We will obtain a CVE number62if one is required, providing you with full credit for the discovery. We will63also decide on a planned release date, and let you know when it is. This64release date will *always* be on a weekday.6566At this point we will reach out to our major downstream packagers to notify67them of an impending security-related patch so they can make arrangements. In68addition, these packagers will be provided with the intended patch ahead of69time, to ensure that they are able to promptly release their downstream70packages. Currently the list of people we actively contact *ahead of a public71release* is:7273- Ralph Bean, Red Hat (@ralphbean)74- Daniele Tricoli, Debian (@eriol)7576We will notify these individuals at least a week ahead of our planned release77date to ensure that they have sufficient time to prepare. If you believe you78should be on this list, please let one of the maintainers know at one of the79email addresses at the top of this article.8081On release day, we will push the patch to our public repository, along with an82updated changelog that describes the issue and credits you. We will then issue83a PyPI release containing the patch.8485At this point, we will publicise the release. This will involve mails to86mailing lists, Tweets, and all other communication mechanisms available to the87core team.8889We will also explicitly mention which commits contain the fix to make it easier90for other distributors and users to easily patch their own versions of requests91if upgrading is not an option.9293Previous CVEs94-------------9596- Fixed in 2.6.09798 - `CVE 2015-2296 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2015-2296>`_,99 reported by Matthew Daley of `BugFuzz <https://bugfuzz.com/>`_.100101- Fixed in 2.3.0102103 - `CVE 2014-1829 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2014-1829>`_104105 - `CVE 2014-1830 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2014-1830>`_
modified:docs/index.rst+1 added
114 unmodified lines
115116 community/faq117 community/out-there.rst118 community/support119 community/vulnerabilities120 community/updates121122API Documentation123-----------------
22 unmodified lines