Skip to content

MAINT: Fix 22 additional dependabot security vulnerabilities#1701

Open
romanlutz wants to merge 1 commit intomicrosoft:mainfrom
romanlutz:fix/dependabot-vulns-followup
Open

MAINT: Fix 22 additional dependabot security vulnerabilities#1701
romanlutz wants to merge 1 commit intomicrosoft:mainfrom
romanlutz:fix/dependabot-vulns-followup

Conversation

@romanlutz
Copy link
Copy Markdown
Contributor

Follow-up to #1683. Addresses 22 Dependabot alerts that were either not covered by that PR or have been disclosed since it was merged.

Coverage

# alerts Package Severity Action
13 axios 4 high / 8 med / 1 low Pin to 1.16.0 in frontend/package.json
4 jupyter-server 3 high / 1 med Add jupyter-server>=2.18.0 to [tool.uv].constraint-dependencies
4 mistune 1 high (ReDoS) / 3 med (XSS) Add mistune>=3.2.1
1 GitPython high (newline injection) Bump GitPython>=3.1.47 -> >=3.1.50

Verification

  • npm audit reports 0 vulnerabilities
  • Frontend tsc --noEmit clean; npm test 560/560 passing
  • For every open alert, the resolved version in uv.lock / package-lock.json was cross-checked against the vulnerable_version_range from the GitHub advisory; no vulnerable version remains (including no nested node_modules/.../axios copies)

Two mistune advisories (GHSA-58cw-g322-p94v, GHSA-8g87-j6q8-g93x) do not yet publish a first_patched_version, but both list <= 3.2.0 as vulnerable, so 3.2.1 is outside the vulnerable range.

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

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

1 participant