Skip to content

chore(deps): update lockfile to patch protobufjs vulnerability#294

Merged
andriimredocly merged 1 commit intomainfrom
fix/protobufjs-vulnerability
Apr 29, 2026
Merged

chore(deps): update lockfile to patch protobufjs vulnerability#294
andriimredocly merged 1 commit intomainfrom
fix/protobufjs-vulnerability

Conversation

@andriimredocly
Copy link
Copy Markdown
Contributor

What/Why/How?

  • What: Patch CVE-2026-41242 / GHSA-xq3m-2v4x-88gg in protobufjs (arbitrary code execution via crafted protobuf "type" field, CVSS 9.8).
  • Why: protobufjs@7.5.3 (transitive via @redocly/realm@opentelemetry/exporter-trace-otlp-http@opentelemetry/otlp-transformer) was vulnerable. Attacker-controlled protobuf definitions could execute JS during decode.
  • How: Ran npm update protobufjs to refresh the lockfile within the existing ^7.3.0 range. Resolved version is now 7.5.6 (>= patched 7.5.5).

Reference

Closes https://github.com/Redocly/website/security/dependabot/107

Testing

  • Ran npm install and confirmed protobufjs resolves to 7.5.6 in package-lock.json (npm ls protobufjs).
  • Lockfile-only change; no application code modified.

Screenshots (optional)

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@andriimredocly andriimredocly marked this pull request as ready for review April 29, 2026 05:13
@andriimredocly andriimredocly requested a review from a team as a code owner April 29, 2026 05:13
Copy link
Copy Markdown

@redocly redocly Bot left a comment

Choose a reason for hiding this comment

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

marketing-site AI Review: 🟢 Completed

Note

Low Risk

This PR contains a low-risk, lockfile-only change. It applies a patch-level update to a transitive dependency (protobufjs and its sub-dependencies) to address a known, highly critical security vulnerability. Since no application code is modified and the update stays within the existing version range, the potential for breaking changes or unintended side effects is minimal.

Overview

Updates package-lock.json to bump protobufjs from 7.5.4 to 7.5.6, along with minor bumps to @protobufjs/codegen, @protobufjs/inquire, and @protobufjs/utf8. This mitigates CVE-2026-41242 (GHSA-xq3m-2v4x-88gg), which could allow arbitrary code execution via crafted protobuf fields during decoding.

@andriimredocly andriimredocly merged commit 0f97816 into main Apr 29, 2026
7 checks passed
@andriimredocly andriimredocly deleted the fix/protobufjs-vulnerability branch April 29, 2026 08:19
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.

2 participants