Skip to content

MAINT: Bump urllib3 to >=2.7.0 to fix dependabot alerts#1725

Open
romanlutz wants to merge 3 commits into
microsoft:mainfrom
romanlutz:fix/dependabot-vulns-followup
Open

MAINT: Bump urllib3 to >=2.7.0 to fix dependabot alerts#1725
romanlutz wants to merge 3 commits into
microsoft:mainfrom
romanlutz:fix/dependabot-vulns-followup

Conversation

@romanlutz
Copy link
Copy Markdown
Contributor

@romanlutz romanlutz commented May 13, 2026

Bumps urllib3 from 2.6.3 to 2.7.0 to address two open high-severity dependabot alerts.

Alerts addressed

Both are fixed in urllib3 2.7.0.

Changes

urllib3 is a transitive dependency only, so this follows the same pattern as #1701:

  • pyproject.toml: added "urllib3>=2.7.0" to [tool.uv].constraint-dependencies
  • uv.lock: regenerated by uv lock — only urllib3 changed (2.6.3 → 2.7.0), no incidental drift

Verification

  • uv sync succeeded; urllib3.__version__ == "2.7.0"
  • make unit-test: 7685 passed, 11 skipped
  • pre-commit hooks passed

romanlutz and others added 3 commits May 9, 2026 06:45
Follow-up to microsoft#1683. Addresses 22 alerts that were either:
- not covered by microsoft#1683 (axios x13, jupyter-server x4, mistune ReDoS x1), or
- newly disclosed after that PR was merged (mistune XSS x3, GitPython newline injection x1).

## Changes

### Direct dependencies
- frontend/package.json: pin `axios` `1.15.0` -> `1.16.0` (GHSA-pf86-5x62-jrwf,
  GHSA-pmwg-cvhr-8vh7, GHSA-6chq-wfr3-2hj9, GHSA-q8qp-cvcw-x6jj, GHSA-xhjh-pmcv-23jw,
  GHSA-445q-vr5w-6q77, GHSA-m7pr-hjqh-92cm, GHSA-62hf-57xw-28j9, GHSA-3w6x-2g7m-8v23,
  GHSA-vf2m-468p-8v99, GHSA-xx6v-rp6x-q39c, GHSA-w9j2-pvgh-6h63, GHSA-5c9x-8gcm-mpgx).
  Pinned to exact version, matching the convention from microsoft#1683.

### Transitive dependencies (uv constraint-dependencies)
- `GitPython` `>=3.1.47` -> `>=3.1.50` (GHSA-mv93-w799-cj2w newline injection)
- `jupyter-server` `>=2.18.0` (NEW) (GHSA-5789-5fc7-67v3, GHSA-5mrq-x3x5-8v8f,
  GHSA-24qx-w28j-9m6p, GHSA-qh7q-6qm3-653w)
- `mistune` `>=3.2.1` (NEW) (GHSA-8mp2-v27r-99xp ReDoS, plus GHSA-v87v-83h2-53w7,
  GHSA-58cw-g322-p94v, GHSA-8g87-j6q8-g93x XSS)

Both `uv.lock` and `frontend/package-lock.json` were regenerated by their
respective tools (not manually edited).

## Verification

- `npm audit` reports 0 vulnerabilities
- `tsc --noEmit` clean
- `npm test` 560/560 passing
- All 22 alert ranges cross-checked against resolved versions in both lockfiles -
  none of the vulnerable versions remain.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Addresses two high-severity dependabot alerts on transitive urllib3:

- GHSA-mf9v-mfxr-j63j (microsoft#167): Decompression-bomb safeguards bypassed in

  parts of the streaming API (vulnerable: >=2.6.0,<2.7.0)

- GHSA-qccp-gfcp-xxvc (microsoft#168): Sensitive headers forwarded across origins

  in proxied low-level redirects (vulnerable: >=1.23,<2.7.0)

Both are fixed in urllib3 2.7.0. Added `urllib3>=2.7.0` to

`[tool.uv].constraint-dependencies` and regenerated `uv.lock` with

`uv lock`. Resolved version went 2.6.3 -> 2.7.0.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rlundeen2 rlundeen2 self-assigned this May 13, 2026
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