Create SECURITY.md
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Kenneth Reitz · committed by GitHub · parent d7018e6 · Browse files · 1 file·+96 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+96 added−0 removed
- other:+96 added−0 removed
Provenance
- Commit
da13fec- Tree
334290c- Author
Kenneth Reitz <me@kennethreitz.org>- Committer
GitHub <noreply@github.com>- Parent
d7018e6
1 file changed+96 added−0 removed
added:SECURITY.md+96 added
1+Vulnerability Disclosure2+========================3+4+.. image::5+https://farm5.staticflickr.com/4211/34709353644\_b041e9e1c2\_k\_d.jpg6+7+If you think you have found a potential security vulnerability in8+requests, please email9+`sigmavirus24 <mailto:graffatcolmingov@gmail.com>`\_ and10+`Nate <mailto:nate.prewitt@gmail.com>`\_ directly. **Do not file a11+public issue.**12+13+Our PGP Key fingerprints are:14+15+- 0161 BB7E B208 B5E0 4FDC 9F81 D9DA 0A04 9113 F853 (@sigmavirus24)16+17+- 8722 7E29 AD9C FF5C FAC3 EA6A 44D3 FF97 B80D C864 (@nateprewitt)18+19+If English is not your first language, please try to describe the20+problem and its impact to the best of your ability. For greater detail,21+please use your native language and we will try our best to translate it22+using online services.23+24+Please also include the code you used to find the problem and the25+shortest amount of code necessary to reproduce it.26+27+Please do not disclose this to anyone else. We will retrieve a CVE28+identifier if necessary and give you full credit under whatever name or29+alias you provide. We will only request an identifier when we have a fix30+and can publish it in a release.31+32+We will respect your privacy and will only publicize your involvement if33+you grant us permission.34+35+Process36+-------37+38+This following information discusses the process the requests project39+follows in response to vulnerability disclosures. If you are disclosing40+a vulnerability, this section of the documentation lets you know how we41+will respond to your disclosure.42+43+Timeline \~\~\~\~\~\~\~\~44+45+When you report an issue, one of the project members will respond to you46+within two days *at the outside*. In most cases responses will be47+faster, usually within 12 hours. This initial response will at the very48+least confirm receipt of the report.49+50+If we were able to rapidly reproduce the issue, the initial response51+will also contain confirmation of the issue. If we are not, we will52+often ask for more information about the reproduction scenario.53+54+Our goal is to have a fix for any vulnerability released within two55+weeks of the initial disclosure. This may potentially involve shipping56+an interim release that simply disables function while a more mature fix57+can be prepared, but will in the vast majority of cases mean shipping a58+complete release as soon as possible.59+60+Throughout the fix process we will keep you up to speed with how the fix61+is progressing. Once the fix is prepared, we will notify you that we62+believe we have a fix. Often we will ask you to confirm the fix resolves63+the problem in your environment, especially if we are not confident of64+our reproduction scenario.65+66+At this point, we will prepare for the release. We will obtain a CVE67+number if one is required, providing you with full credit for the68+discovery. We will also decide on a planned release date, and let you69+know when it is. This release date will *always* be on a weekday.70+71+At this point we will reach out to our major downstream packagers to72+notify them of an impending security-related patch so they can make73+arrangements. In addition, these packagers will be provided with the74+intended patch ahead of time, to ensure that they are able to promptly75+release their downstream packages. Currently the list of people we76+actively contact *ahead of a public release* is:77+78+- Jeremy Cline, Red Hat (@jeremycline)79+- Daniele Tricoli, Debian (@eriol)80+81+We will notify these individuals at least a week ahead of our planned82+release date to ensure that they have sufficient time to prepare. If you83+believe you should be on this list, please let one of the maintainers84+know at one of the email addresses at the top of this article.85+86+On release day, we will push the patch to our public repository, along87+with an updated changelog that describes the issue and credits you. We88+will then issue a PyPI release containing the patch.89+90+At this point, we will publicise the release. This will involve mails to91+mailing lists, Tweets, and all other communication mechanisms available92+to the core team.93+94+We will also explicitly mention which commits contain the fix to make it95+easier for other distributors and users to easily patch their own96+versions of requests if upgrading is not an option.