Skip to content

Fix flagged security vulnerabilities - #69

Merged
alexgomezlf merged 4 commits into
mainfrom
alex/fix-veracode-sca-deps
Jul 30, 2026
Merged

Fix flagged security vulnerabilities#69
alexgomezlf merged 4 commits into
mainfrom
alex/fix-veracode-sca-deps

Conversation

@alexgomezlf

Copy link
Copy Markdown
Contributor

No description provided.

alexandria.gomez and others added 2 commits July 29, 2026 19:07
…eracode SCA flaws

Fixes TFS bugs #675523, #689896, #689897, #689898, #689899, #689900:

- js-yaml 4.1.1 -> 4.3.0 (CVE-2026-53550, CVE-2026-59869): backports the
  default-on maxTotalMergeKeys cap that bounds YAML merge-key (<<) processing
- brace-expansion 2.1.1 -> 2.1.3 (CVE-2026-14257, CVE-2026-13149): bounds
  total expansion output length and removes the recursive post-expansion
  that caused exponential-time blowup on chained brace groups
- fast-uri 3.1.2 -> 3.1.4 (CVE-2026-16221, CVE-2026-13676): fixes backslash
  authority-delimiter and IDN hostname canonicalization desync vs Node's URL

All three stay within the major versions already required by eslint/ajv, so
no override needed beyond bumping the pinned/floor version. Verified via a
full workspace build and the lf-js-utils unit suite (362/362 passing).

TFS bug #689901 (linkify-it CVE-2026-59887) is intentionally not included:
the only fix ships in linkify-it 6.x, which breaks markdown-it 14.x's usage
of it (named export vs. the callable default export markdown-it expects).
markdown-it hasn't adopted linkify-it 6.x in any released 14.x version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…#689901)

Fixes TFS bug #689901. Prior investigation assumed the only fix was
linkify-it 6.x, which breaks markdown-it's usage (named export vs. the
callable default export markdown-it expects). Re-checked and found the
CVE is actually already fixed in linkify-it 5.0.2 (verified in source:
src_email_name's local-part is now bounded to {0,63} chars, matching the
CVE's suggested RFC 5321 remediation, and the mailto validator otherwise
unchanged) - no need for the breaking 6.x jump.

5.0.2 keeps the same `module.exports = LinkifyIt` CommonJS shape, and
satisfies markdown-it 14.2.0's own `^5.0.1` requirement, so no override
conflicts. Verified via a full workspace build, `npm run generate-docs`
end-to-end (0 errors), and the lf-js-utils unit suite (362/362 passing).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@bzajzon-laserfiche bzajzon-laserfiche left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Security dependency bump only — pnpm overrides for brace-expansion, js-yaml, fast-uri, linkify-it, and ajv's fast-uri bumped to patched versions to clear flagged Veracode SCA vulnerabilities. No source changes; all CI checks (CodeQL, build, tests) pass.

@alexgomezlf
alexgomezlf merged commit 6f8cd7f into main Jul 30, 2026
10 checks passed
@alexgomezlf
alexgomezlf deleted the alex/fix-veracode-sca-deps branch July 30, 2026 16:14
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.

3 participants