Skip to content
Myr

SECURITY.md

This file

Path

.github/SECURITY.md

84 lines · 3.9 KiB · Markdown

Last changed by

Update vulnerability disclosure process (#6820)Nate Prewittbefore adoptiona6cf27a

History of this file

Take it

The walk stopped after 200 commits: lines older than 8812812 point at it.

Merge pull request #6519 from psf/dependabot/github_actions/actions/checkout-4.0.0Ian Stapleton Cordascobefore adoption8812812

lines 1–3why, one step back
1# Vulnerability Disclosure
23If you think you have found a potential security vulnerability in

Update vulnerability disclosure process (#6820)Nate Prewittbefore adoptiona6cf27a

lines 4–6why, one step back
4requests, please open a [draft Security Advisory](https://github.com/psf/requests/security/advisories/new)
5via GitHub. We will coordinate verification and next steps through6that secure medium.

Merge pull request #6519 from psf/dependabot/github_actions/actions/checkout-4.0.0Ian Stapleton Cordascobefore adoption8812812

lines 7–65why, one step back
7
8If English is not your first language, please try to describe the9problem and its impact to the best of your ability. For greater detail,10please use your native language and we will try our best to translate it11using online services.1213Please also include the code you used to find the problem and the14shortest amount of code necessary to reproduce it.1516Please do not disclose this to anyone else. We will retrieve a CVE17identifier if necessary and give you full credit under whatever name or18alias you provide. We will only request an identifier when we have a fix19and can publish it in a release.2021We will respect your privacy and will only publicize your involvement if22you grant us permission.2324## Process2526This following information discusses the process the requests project27follows in response to vulnerability disclosures. If you are disclosing28a vulnerability, this section of the documentation lets you know how we29will respond to your disclosure.3031### Timeline3233When you report an issue, one of the project members will respond to you34within two days *at the outside*. In most cases responses will be35faster, usually within 12 hours. This initial response will at the very36least confirm receipt of the report.3738If we were able to rapidly reproduce the issue, the initial response39will also contain confirmation of the issue. If we are not, we will40often ask for more information about the reproduction scenario.4142Our goal is to have a fix for any vulnerability released within two43weeks of the initial disclosure. This may potentially involve shipping44an interim release that simply disables function while a more mature fix45can be prepared, but will in the vast majority of cases mean shipping a46complete release as soon as possible.4748Throughout the fix process we will keep you up to speed with how the fix49is progressing. Once the fix is prepared, we will notify you that we50believe we have a fix. Often we will ask you to confirm the fix resolves51the problem in your environment, especially if we are not confident of52our reproduction scenario.5354At this point, we will prepare for the release. We will obtain a CVE55number if one is required, providing you with full credit for the56discovery. We will also decide on a planned release date, and let you57know when it is. This release date will *always* be on a weekday.5859At this point we will reach out to our major downstream packagers to60notify them of an impending security-related patch so they can make61arrangements. In addition, these packagers will be provided with the62intended patch ahead of time, to ensure that they are able to promptly63release their downstream packages. Currently the list of people we64actively contact *ahead of a public release* is:65

Update vulnerability disclosure process (#6820)Nate Prewittbefore adoptiona6cf27a

line 66why, one step back
66- Python Maintenance Team, Red Hat (python-maint@redhat.com)

Merge pull request #6519 from psf/dependabot/github_actions/actions/checkout-4.0.0Ian Stapleton Cordascobefore adoption8812812

lines 67–84why, one step back
67- Daniele Tricoli, Debian (@eriol)
6869We will notify these individuals at least a week ahead of our planned70release date to ensure that they have sufficient time to prepare. If you71believe you should be on this list, please let one of the maintainers72know at one of the email addresses at the top of this article.7374On release day, we will push the patch to our public repository, along75with an updated changelog that describes the issue and credits you. We76will then issue a PyPI release containing the patch.7778At this point, we will publicise the release. This will involve mails to79mailing lists, Tweets, and all other communication mechanisms available80to the core team.8182We will also explicitly mention which commits contain the fix to make it83easier for other distributors and users to easily patch their own84versions of requests if upgrading is not an option.