Skip to content

Bump requests to 2.33.0#70

Merged
marc-queiroz merged 1 commit into
masterfrom
marc-queiroz/cve/gprofiler-requests-2.33.0
May 13, 2026
Merged

Bump requests to 2.33.0#70
marc-queiroz merged 1 commit into
masterfrom
marc-queiroz/cve/gprofiler-requests-2.33.0

Conversation

@marc-queiroz
Copy link
Copy Markdown

@marc-queiroz marc-queiroz commented Apr 29, 2026

Summary

Pins top-level requests==2.33.0 (was ==2.32.4) to pick up the upstream
fix for CVE-2024-47081 (.netrc credential leak via crafted URLs).

Why this is narrow

The granulate-utils submodule pinned at the current commit ships
requests~=2.32.4, so it specifies an incompatible range with ==2.33.0.
Aligning that submodule requires a coordinated bump on the
granulate-utils side first.

This PR keeps scope tight — top-level requirements.txt only — to make the
intent reviewable in isolation.

Test plan

  • Validated locally with the granulate-utils submodule's requirements.txt
    patched to requests~=2.33.0 (the exact patch will land via the
    follow-up). pip install -r requirements.txt resolves cleanly under
    that combination.
  • Source-code uses of requests are API-compatible with 2.33.x (no
    removed/renamed symbols on the surfaces we use).
  • gprofiler executable build script (scripts/build_x86_64_executable.sh)
    succeeds against this combination.

CVE

  • CVE-2024-47081
    requests <2.32.5 may leak .netrc credentials through trusted-host
    URL parsing.

@artursarlo
Copy link
Copy Markdown

LGTM. Tested locally with local backend build. Working as expected. Used pinterest/granulate-utils#6 alongside this one to validate. Once this is on review mode I'll approve it.

Pins requests==2.33.0 (was ==2.32.4) to pick up the upstream fix for
CVE-2024-47081 (.netrc credential leak via crafted URLs).

This PR is self-contained: a fresh `pip install -r requirements.txt`
resolves cleanly after merge.

Changes:

- requirements.txt: requests==2.32.4 -> 2.33.0

- granulate-utils submodule pointer: d57bcd0 -> 094d4116
  Advances to pinterest/granulate-utils@master following
  pinterest/granulate-utils#6, which bumped granulate-utils to
  `requests~=2.33.0`. Without this advance the submodule would
  continue to pin `~=2.32.4` and pip would report a resolver
  conflict against the new top-level pin.

- .gitmodules: corrects the URL to pinterest/granulate-utils.
  The pinned commit (and every Pinterest-only commit since this
  fork diverged from intel) lives on pinterest/granulate-utils,
  not intel. Before this fix, a fresh
  `git clone --recurse-submodules` of master could not check out
  the submodule, since the pinned commit isn't reachable from
  intel's master.

Co-authored-by: Cursor <cursoragent@cursor.com>
@marc-queiroz marc-queiroz marked this pull request as ready for review May 12, 2026 22:02
@marc-queiroz marc-queiroz force-pushed the marc-queiroz/cve/gprofiler-requests-2.33.0 branch from dd2f02b to 2867301 Compare May 13, 2026 16:07
Copy link
Copy Markdown

@artursarlo artursarlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. As mentioned here: #70 (comment)

@marc-queiroz marc-queiroz merged commit 0888fb9 into master May 13, 2026
9 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants