Skip to content

chore(deps): update dependency requests to v2.32.4 [security]#16

Closed
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/pypi-requests-vulnerability
Closed

chore(deps): update dependency requests to v2.32.4 [security]#16
renovate[bot] wants to merge 1 commit intodevelopfrom
renovate/pypi-requests-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 24, 2026

This PR contains the following updates:

Package Change Age Confidence
requests (source, changelog) ==2.32.0==2.32.4 age confidence

GitHub Vulnerability Alerts

CVE-2024-47081

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).

References

https://github.com/psf/requests/pull/6965
https://seclists.org/fulldisclosure/2025/Jun/2


Release Notes

psf/requests (requests)

v2.32.4

Compare Source

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.

v2.32.3

Compare Source

Bugfixes

  • Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of
    HTTPAdapter. (#​6716)
  • Fixed issue where Requests started failing to run on Python versions compiled
    without the ssl module. (#​6724)

v2.32.2

Compare Source

Deprecations

  • To provide a more stable migration for custom HTTPAdapters impacted
    by the CVE changes in 2.32.0, we've renamed _get_connection to
    a new public API, get_connection_with_tls_context. Existing custom
    HTTPAdapters will need to migrate their code to use this new API.
    get_connection is considered deprecated in all versions of Requests>=2.32.0.

    A minimal (2-line) example has been provided in the linked PR to ease
    migration, but we strongly urge users to evaluate if their custom adapter
    is subject to the same issue described in CVE-2024-35195. (#​6710)

v2.32.1

Compare Source

Bugfixes

  • Add missing test certs to the sdist distributed on PyPI.

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

bakerboy448 added a commit that referenced this pull request Mar 1, 2026
- Flask 2.2.5 → 3.1.3 (session Vary header, low)
- Werkzeug 3.0.2 → 3.1.6 (safe_join device names, debugger RCE, resource exhaustion)
- Jinja2 3.1.4 → 3.1.6 (sandbox breakout via filenames/format/attr)
- requests 2.32.0 → 2.32.4 (.netrc credential leak)
- itsdangerous 2.1.2 → 2.2.0 (Flask 3.x requirement)
- click 8.1.7 → 8.1.8
- MarkupSafe 2.1.5 → 3.0.2
- Add blinker 1.9.0 (Flask 3.x requirement)

Resolves: #4, #7, #8, #10, #11, #12, #13, #14, #15, #16, #17
bakerboy448 added a commit that referenced this pull request Mar 1, 2026
## Summary

- Bumps all pinned dependencies to resolve all 11 open Dependabot alerts
- Flask 2.2.5 → 3.1.3 (major bump — app uses only basic routing/jsonify,
no breaking changes)
- Werkzeug 3.0.2 → 3.1.6 (5 CVEs: safe_join, debugger RCE, resource
exhaustion)
- Jinja2 3.1.4 → 3.1.6 (3 CVEs: sandbox breakout via
filenames/format/attr)
- requests 2.32.0 → 2.32.4 (.netrc credential leak)
- Adds blinker 1.9.0 (new Flask 3.x requirement)
- Bumps itsdangerous, click, MarkupSafe to Flask 3.x compatible versions

Resolves #4, #7, #8, #10, #11, #12, #13, #14, #15, #16, #17

## Test plan

- [ ] Docker image builds successfully
- [ ] `/update-dns?guid=<test>` endpoint responds correctly
- [ ] All 11 Dependabot alerts auto-close after merge

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **Chores**
* Updated core framework and library dependencies to latest stable
versions to improve application stability, security, and compatibility.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@bakerboy448
Copy link
Collaborator

Superseded by #27 which bumps all dependencies together.

@bakerboy448 bakerboy448 closed this Mar 1, 2026
@bakerboy448 bakerboy448 deleted the renovate/pypi-requests-vulnerability branch March 1, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant