Skip to content
Myr

Move community files under .github/ (#5206)

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

authored by Hugo van Kemenade · committed by Seth Michael Larson · parent a9ee0ee · Browse files · 6 files+153 added−156 removed
This commit

State

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

Diff stats

6 files+153 added−156 removed

  • other:+153 added−156 removed

6 files+153 added−156 removed

added:.github/CODE_OF_CONDUCT.md+3 added
added:.github/CONTRIBUTING.md+57 added
added:.github/SECURITY.md+93 added
1# Vulnerability Disclosure23![](https://farm5.staticflickr.com/4211/34709353644_b041e9e1c2_k_d.jpg)45If you think you have found a potential security vulnerability in6requests, please email7`sigmavirus24 <mailto:graffatcolmingov@gmail.com>`\_ and8`Nate <mailto:nate.prewitt@gmail.com>`\_ directly. **Do not file a9public issue.**1011Our PGP Key fingerprints are:1213- 0161 BB7E B208 B5E0 4FDC 9F81 D9DA 0A04 9113 F853 (@sigmavirus24)1415- 8722 7E29 AD9C FF5C FAC3 EA6A 44D3 FF97 B80D C864 (@nateprewitt)1617If English is not your first language, please try to describe the18problem and its impact to the best of your ability. For greater detail,19please use your native language and we will try our best to translate it20using online services.2122Please also include the code you used to find the problem and the23shortest amount of code necessary to reproduce it.2425Please do not disclose this to anyone else. We will retrieve a CVE26identifier if necessary and give you full credit under whatever name or27alias you provide. We will only request an identifier when we have a fix28and can publish it in a release.2930We will respect your privacy and will only publicize your involvement if31you grant us permission.3233## Process3435This following information discusses the process the requests project36follows in response to vulnerability disclosures. If you are disclosing37a vulnerability, this section of the documentation lets you know how we38will respond to your disclosure.3940### Timeline4142When you report an issue, one of the project members will respond to you43within two days *at the outside*. In most cases responses will be44faster, usually within 12 hours. This initial response will at the very45least confirm receipt of the report.4647If we were able to rapidly reproduce the issue, the initial response48will also contain confirmation of the issue. If we are not, we will49often ask for more information about the reproduction scenario.5051Our goal is to have a fix for any vulnerability released within two52weeks of the initial disclosure. This may potentially involve shipping53an interim release that simply disables function while a more mature fix54can be prepared, but will in the vast majority of cases mean shipping a55complete release as soon as possible.5657Throughout the fix process we will keep you up to speed with how the fix58is progressing. Once the fix is prepared, we will notify you that we59believe we have a fix. Often we will ask you to confirm the fix resolves60the problem in your environment, especially if we are not confident of61our reproduction scenario.6263At this point, we will prepare for the release. We will obtain a CVE64number if one is required, providing you with full credit for the65discovery. We will also decide on a planned release date, and let you66know when it is. This release date will *always* be on a weekday.6768At this point we will reach out to our major downstream packagers to69notify them of an impending security-related patch so they can make70arrangements. In addition, these packagers will be provided with the71intended patch ahead of time, to ensure that they are able to promptly72release their downstream packages. Currently the list of people we73actively contact *ahead of a public release* is:7475- Jeremy Cline, Red Hat (@jeremycline)76- Daniele Tricoli, Debian (@eriol)7778We will notify these individuals at least a week ahead of our planned79release date to ensure that they have sufficient time to prepare. If you80believe you should be on this list, please let one of the maintainers81know at one of the email addresses at the top of this article.8283On release day, we will push the patch to our public repository, along84with an updated changelog that describes the issue and credits you. We85will then issue a 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 available89to the core team.9091We will also explicitly mention which commits contain the fix to make it92easier for other distributors and users to easily patch their own93versions of requests if upgrading is not an option.
deleted:CODE_OF_CONDUCT.md-3 removed
deleted:CONTRIBUTING.md-57 removed
deleted:SECURITY.md-96 removed
1Vulnerability 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.