Commit 403b460
authored
chore(deps): update dependency urllib3 to v2.6.3 [security] (#167)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [urllib3](https://redirect.github.com/urllib3/urllib3)
([changelog](https://redirect.github.com/urllib3/urllib3/blob/main/CHANGES.rst))
| `==2.6.2` → `==2.6.3` |

|

|
### GitHub Vulnerability Alerts
####
[CVE-2026-21441](https://redirect.github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99)
### Impact
urllib3's [streaming
API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o)
is designed for the efficient handling of large HTTP responses by
reading the content in chunks, rather than loading the entire response
body into memory at once.
urllib3 can perform decoding or decompression based on the HTTP
`Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`).
When using the streaming API, the library decompresses only the
necessary bytes, enabling partial content consumption.
However, for HTTP redirect responses, the library would read the entire
response body to drain the connection and decompress the content
unnecessarily. This decompression occurred even before any read methods
were called, and configured read limits did not restrict the amount of
decompressed data. As a result, there was no safeguard against
decompression bombs. A malicious server could exploit this to trigger
excessive resource consumption on the client (high CPU usage and large
memory allocations for decompressed data; CWE-409).
### Affected usages
Applications and libraries using urllib3 version 2.6.2 and earlier to
stream content from untrusted sources by setting `preload_content=False`
when they do not disable redirects.
### Remediation
Upgrade to at least urllib3 v2.6.3 in which the library does not decode
content of redirect responses when `preload_content=False`.
If upgrading is not immediately possible, disable
[redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests)
by setting `redirect=False` for requests to untrusted source.
---
### Release Notes
<details>
<summary>urllib3/urllib3 (urllib3)</summary>
###
[`v2.6.3`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#263-2026-01-07)
[Compare
Source](https://redirect.github.com/urllib3/urllib3/compare/2.6.2...2.6.3)
\==================
- Fixed a high-severity security issue where decompression-bomb
safeguards of
the streaming API were bypassed when HTTP redirects were followed.
(`GHSA-38jv-5279-wg99
<https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99>`\_\_)
- Started treating `Retry-After` times greater than 6 hours as 6 hours
by
default. (`#​3743
<https://github.com/urllib3/urllib3/issues/3743>`\_\_)
- Fixed `urllib3.connection.VerifiedHTTPSConnection` on Emscripten.
(`#​3752 <https://github.com/urllib3/urllib3/issues/3752>`\_\_)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Nextdoor/gogo).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 0267101 commit 403b460
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
0 commit comments