build(deps): update dependency requests to v2.32.4 [security] (hotfix/8.9)
Metadata
Current evaluation
Merged in fc81a5369, upgrading requests from 2.32.3 to 2.32.4 on hotfix/8.9 to address CVE-2024-47081 credential leakage.
Resolution: closed resolved
Reason: PR #5551 was merged as commit fc81a5369, pinning requests 2.32.4, which fixes the cited .netrc credential-leak vulnerability.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [requests](https://requests.readthedocs.io) ([source](https://redirect.github.com/psf/requests), [changelog](https://redirect.github.com/psf/requests/blob/master/HISTORY.md)) | `==2.32.3` -> `==2.32.4` | [](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-2024-47081](https://redirect.github.com/psf/requests/security/advisories/GHSA-9hjg-9r4m-mvj7)
### Impact
Due to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.
### Workarounds
For older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).
### References
[https://github.com/psf/requests/pull/6965](https://redirect.github.com/psf/requests/pull/6965)
https://seclists.org/fulldisclosure/2025/Jun/2
---
### Release Notes
<details>
<summary>psf/requests (requests)</summary>
### [`v2.32.4`](https://redirect.github.com/psf/requests/blob/HEAD/HISTORY.md#2324-2025-06-10)
[Compare Source](https://redirect.github.com/psf/requests/compare/v2.32.3...v2.32.4)
**Security**
- CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted
environment will retrieve credentials for the wrong hostname/machine from a
netrc file.
**Improvements**
- Numerous documentation improvements
**Deprecations**
- Added support for pypy 3.11 for Linux and macOS.
- Dropped support for pypy 3.9 following its end of support.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" in timezone Etc/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/canonical/snapcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40OC41IiwidXBkYXRlZEluVmVyIjoiNDAuNDguNSIsInRhcmdldEJyYW5jaCI6ImhvdGZpeC84LjkiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in fc81a5369, upgrading requests from 2.32.3 to 2.32.4 on hotfix/8.9 to address CVE-2024-47081 credential leakage. | |
| stealth/space-bunny-alpha | — | closed resolved | Renovate hotfix merged in #5551 (fc81a5369), bumping requests 2.32.3 -> 2.32.4 on hotfix/8.9 to fix CVE-2024-47081 (.netrc credential leak via crafted URLs). 1 file, +1/-1. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #5551 (fc81a5369), updating requests from 2.32.3 to 2.32.4 on hotfix/8.9 to address CVE-2024-47081 and prevent .netrc credential leakage. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #5551 as fc81a5369, updating requests from 2.32.3 to 2.32.4 on hotfix/8.9 to address CVE-2024-47081. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #5551 as commit fc81a5369 into hotfix/8.9, upgrading requests to v2.32.4 to fix CVE-2024-47081 and prevent .netrc credential leakage. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #5551 via commit fc81a5369, updating requests from 2.32.3 to 2.32.4 to address CVE-2024-47081 and prevent crafted URLs from leaking .netrc credentials. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged automated security hotfix updating requests to v2.32.4 to patch CVE-2024-47081, preventing .netrc credential leakage. Approved and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged automated upgrade of requests to v2.32.4 on hotfix/8.9. Resolves CVE-2024-47081 by fixing .netrc credential leakage from malicious URLs. Applied via Renovate automerge. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#5553
(confidence 99%)
Merged as 3cfe7a1a3; also upgraded requests to 2.32.4 and made it the minimum version.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5065 build(deps): update dependency requests to v2.32.2 [security] (hotfix/7.5) | snapcraft | merged | Merged into hotfix/7.5 as 4df808913, updating requests from 2.28.1 to 2.32.2 to remediate CVE-2024-35195. | |
| #5066 build(deps): update dependency requests to v2.32.2 [security] (hotfix/8.3) | snapcraft | closed | Renovate security bump of requests 2.31.0->2.32.2 for hotfix/8.3 (CVE-2024-35195) was closed unmerged after ~724 days of inactivity; same update merged for main (#5064), hotfix/7.5 (#5065) and hotfix/8.4 (#5067). | |
| #5550 build(deps): update dependency requests to v2.32.4 [security] (hotfix/7.5) - autoclosed | snapcraft | closed | Autoclosed unmerged; the requests 2.32.4 security update landed on hotfix/8.9 via merged #5551 (fc81a5369), not hotfix/7.5. | |
| #5067 build(deps): update dependency requests to v2.32.2 [security] (hotfix/8.4) | snapcraft | merged | Renovate's requests 2.31.0 -> 2.32.2 security bump for CVE-2024-35195 was merged into hotfix/8.4 as commit 8a0a3dc62, one line changed in the requirements file. | |
| #5064 build(deps): update dependency requests to v2.32.2 [security] (main) | snapcraft | merged | Merged PR #5064 as ec4f9b16f, updating requests from 2.31.0 to 2.32.2 to remediate CVE-2024-35195. | |
| #5549 build(deps): update dependency requests to v2.32.4 [security] (main) | snapcraft | closed | Renovate PR to bump requests 2.32.3 -> 2.32.4 (CVE-2024-47081) on main was closed unmerged; the fix shipped via hotfix PR #5551 (fc81a5369) and reached main in #5557 (3a614faa3). | |
| #1516 build(deps): update dependency requests to v2.33.0 [security] (main) | craft-parts | merged | Merged PR #1516 as commit 3d099307, upgrading requests from 2.32.5 to 2.33.0 to remediate CVE-2026-25645. | |
| #1519 build(deps): update dependency requests to v2.33.0 [security] (hotfix/2.7) | craft-parts | closed | Closed unmerged after failing checks; the equivalent requests 2.33.0 security update was merged into main by #1516 at commit 3d099307. | |
| #1119 build(deps): update dependency requests to v2.32.4 [security] (hotfix/2.7) - autoclosed | craft-parts | closed | Autoclosed unmerged; canonical/craft-parts#1121 replaced the requests update and landed as commit 53f7d360, using a version that passed OSV scanning. | |
| #1118 build(deps): update dependency requests to v2.32.4 [security] (hotfix/2.4) - autoclosed | craft-parts | closed | Autoclosed unmerged after the requests 2.32.4 hotfix was replaced by merged PR canonical/craft-parts#1121 (53f7d360). |