| 1 |
# Security Policy |
| 2 |
|
| 3 |
## Reporting a Vulnerability |
| 4 |
|
| 5 |
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). |
| 6 |
Tidelift will coordinate the fix and disclosure with maintainers. |
| 7 |
|
| 8 |
> [!WARNING] |
| 9 |
> Please do **not** file a public GitHub issue for security reports. |
| 10 |
|
| 11 |
When reporting, if possible, include: |
| 12 |
- A clear description of the issue and potential impact |
| 13 |
- Steps to reproduce or a proof of concept |
| 14 |
- Affected urllib3 version(s) and environment details |
| 15 |
- Any suggested mitigations |
| 16 |
|
| 17 |
We typically acknowledge reports within a few business days. |
| 18 |
|
| 19 |
|
| 20 |
## Supported Versions |
| 21 |
|
| 22 |
Only the main branch (the 2.x release line) receives updates, including |
| 23 |
security fixes. Older release lines (e.g., 1.x) are not maintained. If you are |
| 24 |
using an older version, please upgrade to the latest 2.x release to receive |
| 25 |
fixes. |
| 26 |
|
| 27 |
When reporting a potential vulnerability, confirm that it reproduces against |
| 28 |
the latest 2.x version. |
| 29 |
|
| 30 |
|
| 31 |
## Out of Scope Experimental Features |
| 32 |
|
| 33 |
urllib3 contains two experimental modules: `emscripten` and `http2`. |
| 34 |
|
| 35 |
- **http2**: Issues in the HTTP/2 module are not considered security |
| 36 |
vulnerabilities and should be opened as public GitHub issues after |
| 37 |
checking missing features tracked in issue |
| 38 |
<https://github.com/urllib3/urllib3/issues/3000>. |
| 39 |
- **emscripten**: Potential security issues in the `emscripten` module should |
| 40 |
be reported privately. Project maintainers will decide if they qualify as |
| 41 |
security issues to be handled through the standard flow or if they should be |
| 42 |
considered simple bugs and fixed publicly. Issues that would be considered |
| 43 |
security vulnerabilities in the core package may not qualify as such for the |
| 44 |
`emscripten` module. |
| 45 |
|
| 46 |
|
| 47 |
## Our Process |
| 48 |
|
| 49 |
We follow the [Tidelift security process](https://support.tidelift.com/hc/en-us/articles/4406287910036-Security-process) |
| 50 |
for coordinated vulnerability disclosure. In brief: |
| 51 |
- Intake and triage: Reports are received privately via Tidelift, validated, |
| 52 |
and scoped (affected versions, severity). |
| 53 |
- Private coordination: Tidelift facilitates communication between the reporter |
| 54 |
and the urllib3 maintainers. |
| 55 |
- Fix and review: We develop, review, and prepare patches (including backports |
| 56 |
to supported versions when appropriate) and mitigation guidance. |
| 57 |
- Timeline and embargo: We agree on a reasonable disclosure timeline based on |
| 58 |
impact and fix complexity; timelines may be accelerated for active |
| 59 |
exploitation or extended for complex fixes. |
| 60 |
- CVE and advisory: We request and manage CVE IDs via GitHub Security |
| 61 |
Advisories and prepare public guidance. If desired, we credit the reporter |
| 62 |
and involved maintainers in the advisory. |
| 63 |
- Coordinated release: We publish patched releases and the advisory at the |
| 64 |
agreed time. |
| 65 |
|
| 66 |
|
| 67 |
## Advisories and CVEs |
| 68 |
|
| 69 |
We publish our security advisories on GitHub at [the following page](https://github.com/urllib3/urllib3/security/advisories). |
| 70 |
We request and manage CVE IDs using GitHub Security Advisories, and published |
| 71 |
advisories include CVE identifiers (when assigned) and severity information. |
| 72 |
|
| 73 |
To receive notifications when new advisories are published, open the repository |
| 74 |
page, choose *Watch* → *Custom*, and enable *Security alerts*. You can also |
| 75 |
enable *Releases* to be notified when patched versions are published. |