Skip to content

πŸ”’ security: patch transitive CVEs in apps/web (js-yaml) and e2e (@opentelemetry/core)#438

Merged
scttbnsn merged 2 commits into
mainfrom
security/web-js-yaml
Jun 16, 2026
Merged

πŸ”’ security: patch transitive CVEs in apps/web (js-yaml) and e2e (@opentelemetry/core)#438
scttbnsn merged 2 commits into
mainfrom
security/web-js-yaml

Conversation

@scttbnsn

Copy link
Copy Markdown
Contributor

Post-rc.37 dependency hygiene for two transitive CVEs flagged after the cut. Both are build/test-time only β€” neither is in the shipped drydock container image.

  • apps/web β€” fumadocs-mdx pulled js-yaml@4.1.1 (GHSA-h67p-54hq-rp68, fixed 4.2.0). Override β†’ 4.2.0; postinstall docs-sync/MDX frontmatter generation runs clean. Clears Dependabot Testing v1.4.0 β€” rc.12 and beyondΒ #139.
  • e2e β€” artillery pulled @opentelemetry/core@2.7.1 (CVE-2026-54285, unbounded memory in W3C Baggage propagation, fixed 2.8.0). Override β†’ 2.8.0, a drop-in minor bump.

Full qlty check --all --filter=osv-scanner is clean after both. CHANGELOG [Unreleased] notes added for traceability into the next RC.

Not bundling the remaining e2e js-yaml@3.14.2 (artillery): its only fix removes the safeLoad() API artillery calls, so it's triaged in .qlty/qlty.toml and the Dependabot alert (#140) is dismissed as tolerable_risk (test-only, trusted input).

scttbnsn added 2 commits June 15, 2026 20:43
fumadocs-mdx@14.2.11 pulled js-yaml 4.1.1 transitively into apps/web, which
Dependabot flags for GHSA-h67p-54hq-rp68 (fixed in 4.2.0). Added an npm override
pinning js-yaml to 4.2.0; the postinstall docs-sync/MDX frontmatter generation
(the js-yaml consumer) runs clean on the patched version. Website build-time
dependency only β€” not shipped in the drydock container image.
artillery pulled @opentelemetry/core 2.7.1 transitively into e2e, vulnerable to
unbounded memory allocation in W3C Baggage propagation (GHSA-8988-4f7v-96qf,
fixed in 2.8.0). Added an npm override pinning it to 2.8.0 β€” a drop-in minor
bump, no API break. Test-only load-test dependency; not shipped in the image.
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
drydock-website Ready Ready Preview, Comment Jun 16, 2026 12:56am
drydockdemo-website Ready Ready Preview, Comment Jun 16, 2026 12:56am

@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

βœ… All modified and coverable lines are covered by tests.

πŸ“’ Thoughts on this report? Let us know!

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Post-rc.37 dep hygiene, test/build-time only. CI green incl. Cucumber + Playwright (validates the otel bump against artillery). osv scan clean. LGTM.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Both overrides are clean drop-ins (js-yaml 4.x patch, otel minor); not shipped in the image. Approving.

@scttbnsn scttbnsn merged commit 521085e into main Jun 16, 2026
24 checks passed
@scttbnsn scttbnsn deleted the security/web-js-yaml branch June 16, 2026 01: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