SECURITY.md
This file
Path
SECURITY.md
96 lines · 4.1 KiB · Markdown
Last changed by
Create SECURITY.mdKenneth Reitzbefore adoptionda13fec
History of this fileTake it
Create SECURITY.mdKenneth Reitzbefore adoptionda13fec
lines 1–96why, one step back1Vulnerability Disclosure2========================34.. image::5https://farm5.staticflickr.com/4211/34709353644\_b041e9e1c2\_k\_d.jpg67If you think you have found a potential security vulnerability in8requests, please email9`sigmavirus24 <mailto:graffatcolmingov@gmail.com>`\_ and10`Nate <mailto:nate.prewitt@gmail.com>`\_ directly. **Do not file a11public issue.**1213Our PGP Key fingerprints are:1415- 0161 BB7E B208 B5E0 4FDC 9F81 D9DA 0A04 9113 F853 (@sigmavirus24)1617- 8722 7E29 AD9C FF5C FAC3 EA6A 44D3 FF97 B80D C864 (@nateprewitt)1819If English is not your first language, please try to describe the20problem and its impact to the best of your ability. For greater detail,21please use your native language and we will try our best to translate it22using online services.2324Please also include the code you used to find the problem and the25shortest amount of code necessary to reproduce it.2627Please do not disclose this to anyone else. We will retrieve a CVE28identifier if necessary and give you full credit under whatever name or29alias you provide. We will only request an identifier when we have a fix30and can publish it in a release.3132We will respect your privacy and will only publicize your involvement if33you grant us permission.3435Process36-------3738This following information discusses the process the requests project39follows in response to vulnerability disclosures. If you are disclosing40a vulnerability, this section of the documentation lets you know how we41will respond to your disclosure.4243Timeline \~\~\~\~\~\~\~\~4445When you report an issue, one of the project members will respond to you46within two days *at the outside*. In most cases responses will be47faster, usually within 12 hours. This initial response will at the very48least confirm receipt of the report.4950If we were able to rapidly reproduce the issue, the initial response51will also contain confirmation of the issue. If we are not, we will52often ask for more information about the reproduction scenario.5354Our goal is to have a fix for any vulnerability released within two55weeks of the initial disclosure. This may potentially involve shipping56an interim release that simply disables function while a more mature fix57can be prepared, but will in the vast majority of cases mean shipping a58complete release as soon as possible.5960Throughout the fix process we will keep you up to speed with how the fix61is progressing. Once the fix is prepared, we will notify you that we62believe we have a fix. Often we will ask you to confirm the fix resolves63the problem in your environment, especially if we are not confident of64our reproduction scenario.6566At this point, we will prepare for the release. We will obtain a CVE67number if one is required, providing you with full credit for the68discovery. We will also decide on a planned release date, and let you69know when it is. This release date will *always* be on a weekday.7071At this point we will reach out to our major downstream packagers to72notify them of an impending security-related patch so they can make73arrangements. In addition, these packagers will be provided with the74intended patch ahead of time, to ensure that they are able to promptly75release their downstream packages. Currently the list of people we76actively contact *ahead of a public release* is:7778- Jeremy Cline, Red Hat (@jeremycline)79- Daniele Tricoli, Debian (@eriol)8081We will notify these individuals at least a week ahead of our planned82release date to ensure that they have sufficient time to prepare. If you83believe you should be on this list, please let one of the maintainers84know at one of the email addresses at the top of this article.8586On release day, we will push the patch to our public repository, along87with an updated changelog that describes the issue and credits you. We88will then issue a PyPI release containing the patch.8990At this point, we will publicise the release. This will involve mails to91mailing lists, Tweets, and all other communication mechanisms available92to the core team.9394We will also explicitly mention which commits contain the fix to make it95easier for other distributors and users to easily patch their own96versions of requests if upgrading is not an option.