Skip to content

Fix ReDoS: bump addressable 2.8.9→2.9.0 - #72

Closed
kulesh wants to merge 1 commit into
mainfrom
claude/review-pr-61-I9K3z
Closed

Fix ReDoS: bump addressable 2.8.9→2.9.0#72
kulesh wants to merge 1 commit into
mainfrom
claude/review-pr-61-I9K3z

Conversation

@kulesh

@kulesh kulesh commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Linked Issue (Required)

Closes #71

Problem and User Value (Required)

addressable 2.8.9 has a ReDoS vulnerability in Addressable::Template#match. Version 2.8.10 attempted a fix but the remediation was incomplete. Version 2.9.0 fully resolves it by improving the algorithm from O(n^2) to O(n).

This is the last of the 3 high-severity vulnerabilities flagged by GitHub on the default branch (the other two — mcp CVE-2026-33946 and json CVE-2026-33210 — were fixed in #66).

Solution Summary (Required)

Update Gemfile.lock: addressable 2.8.9 → 2.9.0. The json-schema gem requires addressable ~> 2.8 (i.e. >= 2.8.0, < 3.0), so 2.9.0 is compatible. No other changes needed.

Supersedes Dependabot PR #65.

Verification (Required)

Lockfile-only change. CI will validate:

  • bundler-audit — should now pass (no remaining advisories)
  • Ruby test and lint — no code changes
  • Class-1 Readiness — no code changes

Scope Declaration (Required)

This PR only updates addressable in Gemfile.lock to resolve the ReDoS vulnerability described in #71. No other changes.

Contributor Acknowledgements (Required)

  • I linked an approved issue for this PR.
  • I ran relevant tests/lint and reported results above.
  • I reviewed every changed line and can explain it.
  • I read and agree to follow CONTRIBUTING.md.
  • I read and agree to follow CODE_OF_CONDUCT.md.

Fixes ReDoS vulnerability in Addressable::Template#match, including
incomplete remediation from 2.8.10. Improves from O(n^2) to O(n).

Supersedes #65 (Dependabot PR).

https://claude.ai/code/session_01CDVXuEGetaSKyDrq7p6yrk
@github-actions

Copy link
Copy Markdown

This pull request has been marked stale due to inactivity. Please update it if you want it to stay open.

@github-actions github-actions Bot added the stale label Apr 26, 2026
@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown

Closing due to inactivity. Reopen with an update if still relevant.

@github-actions github-actions Bot closed this May 3, 2026
@kulesh kulesh reopened this May 3, 2026

kulesh commented May 3, 2026

Copy link
Copy Markdown
Owner Author

No longer needed — addressable was removed from the dependency tree entirely when rubocop was bumped to 1.86.1 (which dropped the mcp dependency, removing the mcpjson-schemaaddressable chain). The vulnerability is resolved. Closing.


Generated by Claude Code

@kulesh kulesh closed this May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix ReDoS vulnerability in addressable (CVE): bump 2.8.9→2.9.0

2 participants