Skip to content

fix(deps): move re2js to 2.8.7 for CVE-2026-116795 - #1508

Merged
scttbnsn merged 1 commit into
dev/v1.8from
fix/v1.8-re2js-2.8.7
Oct 28, 2026
Merged

scttbnsn merged 1 commit into
dev/v1.8from
fix/v1.8-re2js-2.8.7

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

GHSA-gg6h-894w-4m9c (CVE-2026-116795), published today: re2js before 2.8.7 goes quadratic when the opt-in LOOKBEHINDS flag is combined with repeated matching. A 16,000 character input takes about 37 seconds of CPU.

drydock compiles user-supplied tag include, exclude and transform patterns with re2js, but every RE2JS.compile call in app/ uses the default flags. Lookbehinds are never turned on, so the slow path wasn't reachable. It's a patch bump that's been out since 2026-10-17, so I took the fix instead of triaging it. It also clears the qlty osv gate, which was failing on every push.

Verify:

cd app && npx vitest run --coverage.enabled=false tag watchers/providers/docker registries/BaseRegistry
qlty check --no-progress --all

The tag, Docker watcher and registry suites pass (2245 tests), and qlty exits clean.

Changelog

Concerns

  • Test results and qlty check status are not independently verified.

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
drydock-website Ready Ready Preview Oct 28, 2026 11:35pm UTC
drydockdemo-website Ready Ready Preview Oct 28, 2026 11:35pm UTC

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 573906a and c61ad38.

Files ignored due to path filters: 2
  • CHANGELOG.md is excluded by !CHANGELOG.md
  • app/package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json
Files selected for processing: 1
  • app/package.json

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

Walkthrough

The app package manifest updates the re2js dependency from version 2.8.6 to 2.8.7.

Priority: Low

Change: Other

Merge Risk: Minimal · up to c61ad

The dependency upgrade is consistently locked and compatible with the app's supported runtime, so no actionable merge risk remains.

Pre-merge checks: Passed 2
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttbnsn
scttbnsn merged commit 349fb3c into dev/v1.8 Oct 28, 2026
39 of 40 checks passed
@scttbnsn
scttbnsn deleted the fix/v1.8-re2js-2.8.7 branch October 28, 2026 23:58

This branch was successfully deployed

2 active deployments
Preview – drydock-website — c61ad38e Deployed Oct 28, 2026 by vercel[bot]
Preview – drydockdemo-website — c61ad38e Deployed Oct 28, 2026 by vercel[bot]
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