Skip to content

fix(deps): bump urllib3 to 2.8.0 (GHSA-8988-9cw3-xx77, GHSA-gh4c-6fx4-qh6g) - #124

Merged
lab700xdev merged 1 commit into
mainfrom
fix/urllib3-2.8.0
Oct 18, 2026
Merged

lab700xdev merged 1 commit into
mainfrom
fix/urllib3-2.8.0

Conversation

@lab700xdev

Copy link
Copy Markdown
Contributor

Resolves the two open Dependabot alerts on urllib3 by bumping it 2.7.0 → 2.8.0 (lock-only; no pyproject.toml change).

Advisories

  • GHSA-8988-9cw3-xx77 (high): HTTPS proxy TLS configuration may be ignored or overridden. Affects >=1.26.0,<2.8.0.
  • GHSA-gh4c-6fx4-qh6g (medium): chunked Deflate streaming can enter an infinite loop. Affects >=2.6.2,<2.8.0.

Exploitability here

urllib3 is a runtime transitive dependency through requests, and it ships in both the PyPI wheel's dependency set and the standalone binaries. The CLI makes HTTP calls for remote scans (hf:// and HTTP URLs), OSV/PyPI lookups, the version check and telemetry. So the code is reachable for users behind an HTTPS proxy (first advisory), and for any remote target served with chunked deflate (second advisory, which is a DoS). Treating it as user-facing.

Change

poetry update urllib3 touched only the urllib3 entry in poetry.lock. Poetry also restated an equivalent numpy marker; I reverted that hunk so the diff covers only this fix. poetry check --lock passes.

Verification

  • poetry run pytest --cov=aisbom --cov-fail-under=85: 1498 passed, 93.79% coverage.
  • CLI regression snapshot (help, version, info, scan in terminal/markdown/CycloneDX/SPDX, --strict, --lint, --no-fail-on-risk, diff, error paths, stdout+stderr+exit codes): byte-identical between urllib3 2.7.0 and 2.8.0 after normalization. The harness was confirmed deterministic first.
  • Standalone binary rebuilt with scripts/build_binaries.sh on macOS arm64. Frozen-binary smoke test: --version OK, CRITICAL mock artifact still exits 2, and a live hf://google-bert/bert-base-uncased scan over HTTPS exits 0.

No user-visible changes.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T19:40:30.921882Z 315ab8a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lab700xdev
lab700xdev merged commit 24e282f into main Oct 18, 2026
2 checks passed
@lab700xdev
lab700xdev deleted the fix/urllib3-2.8.0 branch October 18, 2026 19:41
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