Skip to content

fix(deps): clear 4 high Dependabot alerts (urllib3 + orjson) with setuptools<81 pin#8

Closed
mikejgray wants to merge 1 commit into
mainfrom
fix/security-bump-apr-2026
Closed

fix(deps): clear 4 high Dependabot alerts (urllib3 + orjson) with setuptools<81 pin#8
mikejgray wants to merge 1 commit into
mainfrom
fix/security-bump-apr-2026

Conversation

@mikejgray
Copy link
Copy Markdown
Contributor

@mikejgray mikejgray commented Apr 23, 2026

Summary

Clears 4 of 5 high-severity Dependabot alerts. setuptools high explicitly skipped — see below.

Package From To Alerts cleared
urllib3 2.3.0 2.6.3 3 highs
orjson 3.10.12 3.11.8 1 high
setuptools 75.6.0 80.10.2 0 (intentional skip — see below)

Why setuptools is pinned <81

The setuptools high-sev alert (path traversal in PackageIndex.download) is exploitable only via easy_install, which we do not invoke. Meanwhile:

  • setuptools 81.0.0 removed --dry-run
  • setuptools 82.0.0 removed pkg_resources entirely

ovos-plugin-manager.utils falls back to pkg_resources if importlib.metadata.entry_points import fails. The fallback is dead code on Python 3.10+, but the broader OVOS dep chain hasn't been audited end-to-end for pkg_resources usage. The runtime risk of breaking the OVOS plugin discovery chain outweighs a build-time-only advisory we don't trigger.

Will revisit once OVOS confirms importlib.metadata-only paths.

Test plan

  • uv run pytest — 42/42 pass, 83% coverage
  • CI green

🤖 Generated with Claude Code

…uptools<81 pin

- urllib3 2.3.0 → 2.6.3 (3 highs: decompression bomb redirects, streaming
  compression, unbounded link chain)
- orjson 3.10.12 → 3.11.8 (deep recursion DoS)
- setuptools pinned <81 — the high-sev alert (PackageIndex.download path
  traversal in easy_install) is build-time only and not invoked here.
  setuptools 81 removed --dry-run, 82 removed pkg_resources entirely;
  ovos-plugin-manager has importlib.metadata fallback but the OVOS dep
  chain hasn't been audited end-to-end for pkg_resources usage.

All 42 tests pass, 83% coverage.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@mikejgray mikejgray force-pushed the fix/security-bump-apr-2026 branch from dca8f12 to 03a842b Compare April 23, 2026 02:22
@mikejgray mikejgray changed the title fix(deps): clear 5 high Dependabot alerts via uv lock --upgrade fix(deps): clear 4 high Dependabot alerts (urllib3 + orjson) with setuptools<81 pin Apr 23, 2026
@mikejgray mikejgray closed this Apr 23, 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.

1 participant