Skip to content

[agent] chore(deps): upgrade undici to 7.28.0 via overrides#791

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/undici-security-7.28.0-e546df71475b629d
Draft

[agent] chore(deps): upgrade undici to 7.28.0 via overrides#791
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/undici-security-7.28.0-e546df71475b629d

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Adds an overrides entry in the root package.json to pin undici to >=7.28.0, and updates package-lock.json accordingly.

Why an override?

undici is a transitive dependency pulled in by cheerio@1.2.0 (declared in packages/mongodb-cloud-info/package.json). cheerio@1.2.0 specifies "undici": "^7.19.0". The latest cheerio release (1.2.0) has not shipped an updated range that resolves to a patched undici, so there is no manifest-first bump available. The overrides entry is used as the appropriate fallback.

Advisories addressed

Alert GHSA CVE Severity Fixed in
#282 GHSA-vmh5-mc38-953g CVE-2026-9697 High 7.28.0
#281 GHSA-pr7r-676h-xcf6 CVE-2026-9678 Medium 7.28.0

Alert #282 (High): undici's ProxyAgent silently dropped requestTls options when using a SOCKS5 proxy, causing TLS certificate validation bypass.

Alert #281 (Medium): undici's cache interceptor incorrectly cached responses with whitespace-padded private/no-cache field names, enabling cross-user information disclosure in shared-cache mode.

Generated by Dependabot remediation agent · ● 1.1M ·

Adds an npm overrides entry to pin undici >= 7.28.0.

cheerio@1.2.0 (the direct dependent) declares undici ^7.19.0 and the
latest cheerio release has not shipped a new range that resolves to
the patched undici. The override is therefore used as a fallback to
force resolution to a safe version.

Fixes:
- GHSA-vmh5-mc38-953g / CVE-2026-9697 (high) – TLS certificate
  validation bypass in SOCKS5 ProxyAgent (alert #282)
- GHSA-pr7r-676h-xcf6 / CVE-2026-9678 (medium) – cross-user info
  disclosure via shared cache whitespace bypass (alert #281)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants