Skip to content

Upgrade vulnerable dependencies (Dependabot backlog, November 2026) - #1043

Merged
santicomp2014 merged 1 commit into
mainfrom
deps-vanta-2026-11
Nov 10, 2026
Merged

santicomp2014 merged 1 commit into
mainfrom
deps-vanta-2026-11

Conversation

@santicomp2014

Copy link
Copy Markdown
Contributor

Consolidated upgrade of every package with an open Dependabot alert in this repo (Vanta SOC2 "packages checked for vulnerabilities" tests). One PR instead of the individual Dependabot PRs.

How

  • Python: every requirements/*.txt was recompiled with pip-compile --allow-unsafe --upgrade-package <pkg> for each vulnerable package, plus the pins that blocked a fix (pathspec and pytokens for black, packaging for wheel). No blanket --upgrade. Compiled in a python:3.11.7 linux/amd64 container (matches .python-version).
  • pip-tools 7.5.2 cannot import from pip 26.2+ (stdlib_pkgs was removed), so pip-tools is bumped to 7.6.2 alongside pip.
  • JS (dev tooling only; nothing here ships to users): npm audit fix --package-lock-only (no --force) moved the transitive packages within their existing ranges. serialize-javascript 6.0.2 is required by mocha 11 (^6.0.2), and no mocha 11 release moves off it, so mocha goes ^11.1.0 -> ^12.0.3 (devDependency; mocha 12 depends on serialize-javascript ^7.1.1). No overrides were added.

Versions

Package Old New
certifi 2026.2.25 2026.10.23
urllib3 2.5.0 2.8.0
idna 3.7 3.20
webob 1.8.8 1.8.11
packaging 23.2 26.3
black 25.11.0 26.10.1
pathspec 0.12.1 1.1.1
pytokens 0.3.0 0.4.1
pytest 9.0.1 9.1.1
pygments 2.17.2, 2.19.2 2.21.0
soupsieve 2.5 4.0.1
wheel 0.42.0 0.48.0
pip 26.1 26.3
pip-tools 7.5.2 7.6.2
setuptools 78.1.1 84.2.1 in tool-only files; 78.1.1 kept where pyramid is installed (see Deferred)
mocha (npm) 11.7.5 12.0.3
serialize-javascript (npm) 6.0.2 7.1.4
brace-expansion (npm) 1.1.8, 2.1.0 1.1.21, 5.0.12
engine.io (npm) 6.4.2 6.6.11
socket.io (npm) 4.6.2 4.8.4
socket.io-parser (npm) 4.2.4 4.2.7
ws (npm) 8.11.0 8.21.3
follow-redirects (npm) 1.15.6 1.16.2
js-yaml (npm) 4.1.1 4.3.2
lodash (npm) 4.17.23 4.18.1
qs (npm) 6.15.1 6.16.2
tmp (npm) 0.2.1 0.2.7

Production (requirements/requirements.txt) changes certifi, urllib3, idna, webob and packaging (used by gunicorn).

Alerts expected to close

115 of 123 open alerts: critical 4/4, high 56/56, medium 46/50, low 9/13.

Deferred

  • setuptools in the pyramid-dependent files (requirements, dev, tests, functests): 4 medium + 4 low. Fixed versions are >= 83.0.0 / 84.1.0, but setuptools 82+ no longer ships pkg_resources, which pyramid 2.0.2 imports at runtime, and pyramid 2.1 itself requires setuptools<82. Same deferral as h and via. Both advisories are build/install-time only (sdist MANIFEST.in exclusion on macOS filesystems, and a Windows path escape during legacy wheel installs); neither is reachable from the running app on Linux. setuptools was upgraded to 84.2.1 in the tool-only files (checkformatting, coverage, format, lint).

Testing (local)

  • tox -e checkformatting,lint,tests,functests,coverage: all pass (88 unit tests, 100% coverage, functests pass).
  • make frontend-lint and make frontend-test (karma + ChromeHeadless, mocha 12): pass, 11/11.
  • docker build .: builds; pyramid still imports with setuptools 78.1.1.

No code or test changes were needed.

🤖 Generated with Claude Code

Recompile requirements with --upgrade-package for every package with an
open Dependabot alert (certifi, urllib3, idna, webob, black, pytest,
pygments, soupsieve, wheel, pip with pip-tools 7.6.2, and setuptools in
the tool-only files). Update the npm lockfile with `npm audit fix` and
bump mocha to 12 so serialize-javascript can move to 7.x.

setuptools stays at 78.1.1 where pyramid is installed because pyramid
imports pkg_resources, which setuptools 82+ removed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@santicomp2014
santicomp2014 merged commit 821ebaf into main Nov 10, 2026
5 checks passed
@santicomp2014
santicomp2014 deleted the deps-vanta-2026-11 branch November 10, 2026 08:34
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