Skip to content
Myr

vulnerabilities.rst

This file

Path

docs/community/vulnerabilities.rst

110 lines · 4.5 KiB

Last changed by

update vulnerability informationNate Prewittbefore adoptionedf7731

History of this file

Take it

1Vulnerability Disclosure2========================34.. image:: https://farm5.staticflickr.com/4211/34709353644_b041e9e1c2_k_d.jpg56If you think you have found a potential security vulnerability in requests,7please email `sigmavirus24 <mailto:graffatcolmingov@gmail.com>`_ and8`Nate <mailto:nate.prewitt@gmail.com>`_ directly. **Do not file a public issue.**910Our PGP Key fingerprints are:1112- 0161 BB7E B208 B5E0 4FDC  9F81 D9DA 0A04 9113 F853 (@sigmavirus24)1314- 8722 7E29 AD9C FF5C FAC3  EA6A 44D3 FF97 B80D C864 (@nateprewitt)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- Jeremy Cline, Red Hat (@jeremycline)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>`_