chore(deps): update dependency urllib3 to v1.26.18 [security]
Metadata
Current evaluation
Merged PR #1337 as 25d6160d, upgrading urllib3 from 1.26.17 to 1.26.18 to remediate CVE-2023-45803.
Resolution: closed resolved
Reason: PR #1337 was approved and merged as commit 25d6160d, pinning urllib3 1.26.18, the patched release for the redirect request-body vulnerability.
Evaluated by: mr-cal-bot
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [urllib3](https://togithub.com/urllib3/urllib3) ([changelog](https://togithub.com/urllib3/urllib3/blob/main/CHANGES.rst)) | `==1.26.17` -> `==1.26.18` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
### GitHub Vulnerability Alerts
#### [CVE-2023-45803](https://togithub.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4)
urllib3 previously wouldn't remove the HTTP request body when an HTTP redirect response using status 303 "See Other" after the request had its method changed from one that could accept a request body (like `POST`) to `GET` as is required by HTTP RFCs. Although the behavior of removing the request body is not specified in the section for redirects, it can be inferred by piecing together information from different sections and we have observed the behavior in other major HTTP client implementations like curl and web browsers.
From [RFC 9110 Section 9.3.1](https://www.rfc-editor.org/rfc/rfc9110.html#name-get):
> A client SHOULD NOT generate content in a GET request unless it is made directly to an origin server that has previously indicated, in or out of band, that such a request has a purpose and will be adequately supported.
## Affected usages
Because the vulnerability requires a previously trusted service to become compromised in order to have an impact on confidentiality we believe the exploitability of this vulnerability is low. Additionally, many users aren't putting sensitive data in HTTP request bodies, if this is the case then this vulnerability isn't exploitable.
Both of the following conditions must be true to be affected by this vulnerability:
* If you're using urllib3 and submitting sensitive information in the HTTP request body (such as form data or JSON)
* The origin service is compromised and starts redirecting using 303 to a malicious peer or the redirected-to service becomes compromised.
## Remediation
You can remediate this vulnerability with any of the following steps:
* Upgrade to a patched version of urllib3 (v1.26.18 or v2.0.7)
* Disable redirects for services that you aren't expecting to respond with redirects with `redirects=False`.
* Disable automatic redirects with `redirects=False` and handle 303 redirects manually by stripping the HTTP request body.
---
### Release Notes
<details>
<summary>urllib3/urllib3 (urllib3)</summary>
### [`v1.26.18`](https://togithub.com/urllib3/urllib3/releases/tag/1.26.18)
[Compare Source](https://togithub.com/urllib3/urllib3/compare/1.26.17...1.26.18)
- Made body stripped from HTTP requests changing the request method to GET after HTTP 303 "See Other" redirect responses. (GHSA-g4mx-q9vg-27p4)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" in timezone Etc/UTC, Automerge - "before 07:00" in timezone Etc/UTC.
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/charmcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1337 as 25d6160d, upgrading urllib3 from 1.26.17 to 1.26.18 to remediate CVE-2023-45803. | |
| stealth/space-bunny-alpha | — | closed resolved | Renovate security bump of urllib3 1.26.17 -> 1.26.18 merged as commit 25d6160d, pinning the patched release for CVE-2023-45803 (request body not stripped after 303 redirects). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as commit 25d6160d, updating urllib3 from 1.26.17 to 1.26.18 to address CVE-2023-45803. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged automated update upgrading urllib3 from 1.26.17 to 1.26.18 to patch CVE-2023-45803, fixing HTTP request body leakage on 303 redirects. Approved and merged after passing CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged automated dependency update upgrading urllib3 from 1.26.17 to 1.26.18 to patch CVE-2023-45803, addressing an HTTP 303 redirect body leakage vulnerability. Applied via Renovate bot automerge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4860 chore(deps): update dependency urllib3 to v1.26.19 [security] - autoclosed | snapcraft | closed | Autoclosed: duplicate of merged Dependabot PR #4859 (commit 60d370276), which already bumped urllib3 1.26.18 -> 1.26.19 (CVE-2024-37891) in main. | |
| #1308 chore(deps): update dependency urllib3 to v1.26.17 [security] | charmcraft | merged | Renovate security bump of urllib3 1.26.16 -> 1.26.17 (CVE-2023-43804 Cookie header leak on redirect) merged into main as commit 51323d0f, changing2 dependency pin files. | |
| #369 chore(deps): update dependency urllib3 to v2 | craft-providers | closed | Renovate's urllib3 v2 update was closed unmerged because #264 pinned urllib3 to v1 pending msabramo/requests-unixsocket#69. | |
| #339 chore(deps): update bugfixes | rockcraft | merged | Renovate dependency bump PR merged as commit b72aed86 (urllib3 1.26.13->1.26.16, PyYAML 6.0->6.0.1, MarkupSafe, click, codespell, etc.) after the Pyright lint blocker was resolved in PR #342. | |
| #421 chore(deps): update development dependencies (non-major) | craft-providers | merged | Merged in #421 via commit 3da8279, updating five development dependencies and resolving the reported urllib3/types-requests conflict before merge. | |
| #3532 build(deps): bump urllib3 from 1.26.4 to 1.26.5 | snapcraft | merged | Merged PR #3532 via commit 6ddfcad68, updating urllib3 from 1.26.4 to 1.26.5 in two files. | |
| #4859 build(deps): bump urllib3 from 1.26.18 to 1.26.19 | snapcraft | merged | Dependabot PR merged, bumping urllib3 1.26.18 to 1.26.19 in the main requirements (commit 60d370276, PR #4859); approved by 2 reviewers with no unresolved comments. | |
| #1408 fix(deps): update urllib3 to 2.5.1 to address security vulnerabilities | craft-parts | closed | Closed unmerged; the urllib3 security update was superseded by merged PR #1411 (commit 044ea761), which upgraded uv.lock from urllib3 2.5.0 to 2.6.1. | |
| #4388 build(deps): bump urllib3 from 1.26.15 to 1.26.17 | snapcraft | merged | Merged PR #4388 upgraded urllib3 from 1.26.15 to 1.26.17 in commit 8b7202506, adding redirect Cookie stripping and pool thread-safety fixes. | |
| #1336 build(deps): bump urllib3 from 1.26.17 to 1.26.18 | charmcraft | closed | Superseded unmerged by commit 25d6160d, which updated urllib3 to 1.26.18; Dependabot closed #1336 as already up to date. |