Repository navigation
fix: remove vulnerable regexp2 v1 and upgrade dependencies - #339
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #339 +/- ##
==========================================
+ Coverage 98.66% 98.74% +0.08%
==========================================
Files 94 94
Lines 12310 12310
==========================================
+ Hits 12146 12156 +10
+ Misses 139 129 -10
Partials 25 25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
daveshanley
marked this pull request as ready for review
October 30, 2026 19:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes regexp2 v1 from the validator’s compiled packages to address CVE-2026-77299, reported in daveshanley/vacuum#1023. Arazzo validation and the CLI now use regexp2 v2 with its default backtracking bound.
debugand the legacy no-opcompiledalias.go.mod: regexp2/v2 v2.12.0, libopenapi v0.41.8, jsonpath v0.8.5, jsonparser v1.6.1, and x/net v0.62.0.Validation: full validator test suite passed with
GOWORK=off; independent correctness and de-slop reviews found no remaining material issues. Focused Arazzo and CLI race tests passed; the rebuilt validator binary contains regexp2 v2.12.0 and no regexp2 v1.The v1 checksum retained through a
pb33f/jsonschemaexample-test dependency is not part of the compiled package closure. A validator release and a subsequent Vacuum dependency update are needed to ship this fix to Vacuum users.