fix: bump transitive deps to resolve brace-expansion and ip-address CVEs - #87
Merged
Conversation
Upgrade @openapitools/openapi-generator-cli from 2.39.1 to 2.40.1, which allows transitive dependencies to resolve to their fixed versions: - brace-expansion: 5.0.6 -> 5.0.9 (GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895 — DoS via unbounded expansion length and incomplete intermediate array bounds; SECVULN-51496, SECVULN-51925) - ip-address: 10.2.0 -> 10.5.0 (GHSA-mwp4-54f8-5fhr — SSRF/ trust-boundary bypass via leading-zero octet mis-decoding; SECVULN-51926) Also migrate the existing pnpm.overrides config from the ignored pnpm field in package.json to pnpm-workspace.yaml, which is the correct location for pnpm v10. Co-authored-by: OpenCode (sonnet-4.6-us-west) <opencode.noreply@hashicorp.com>
angelocordon
force-pushed
the
fix/secvuln-dep-upgrades
branch
from
August 12, 2026 05:49
5d51da2 to
ba1a456
Compare
angelocordon
enabled auto-merge (squash)
August 12, 2026 05:54
lane-wetmore
approved these changes
Aug 12, 2026
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.
Summary
Addresses three SECVULN tickets by upgrading
@openapitools/openapi-generator-clifrom2.39.1to2.40.1, which allows transitive dependencies to resolve to their patched versions.Vulnerabilities addressed
brace-expansion5.0.65.0.9brace-expansion5.0.65.0.9ip-address10.2.010.5.0Details
SECVULN-51496 / SECVULN-51925 —
brace-expansionDoSbrace-expansion@5.0.6has two related DoS vulnerabilities.5.0.8added anEXPANSION_MAX_LENGTHbound, but intermediate arrays were still unbounded (fixed fully in5.0.9). An attacker passing a crafted string toexpand()can trigger an uncatchable OOM crash or a multi-minute CPU stall.SECVULN-51926 —
ip-addressSSRF / trust-boundary bypassip-address@10.2.0decodes leading-zero octets as decimal while OS resolvers decode them as octal.isPrivate()/isLoopback()etc. mis-classify addresses like012.0.0.1(classified public, but resolves to10.0.0.1), enabling SSRF bypass. Fixed in10.3.1; we now resolve to10.5.0.Dependency chain
Both packages are transitive dev-only dependencies:
Additional fix
Migrated the existing
pnpm.overridesconfig from thepnpmfield inpackage.json(silently ignored since pnpm v10) topnpm-workspace.yaml, which is the correct location.