Skip to content

fix(openclaw): bump protobufjs to >=7.5.5 (GHSA-xq3m-2v4x-88gg)#5012

Merged
kk2211 merged 1 commit intomem0ai:mainfrom
kk2211:fix/protobufjs-ghsa-xq3m-2v4x-88gg
Apr 29, 2026
Merged

fix(openclaw): bump protobufjs to >=7.5.5 (GHSA-xq3m-2v4x-88gg)#5012
kk2211 merged 1 commit intomem0ai:mainfrom
kk2211:fix/protobufjs-ghsa-xq3m-2v4x-88gg

Conversation

@kk2211
Copy link
Copy Markdown
Contributor

@kk2211 kk2211 commented Apr 29, 2026

Linked Issue

N/A — security advisory remediation. Reported via Slack: bump npm protobufjs to >=7.5.5 to address GHSA-xq3m-2v4x-88gg / CVE-2026-41242.

Description

openclaw/pnpm-lock.yaml was resolving protobufjs@7.5.4, which is vulnerable to GHSA-xq3m-2v4x-88gg — code injection via malicious protobuf type fields (CVSS 9.4, CWE-94). Fixed in 7.5.5.

protobufjs is a transitive dependency: @mem0/openclaw-mem0mem0ai@google/genai@1.45.0protobufjs. Since it isn't a direct dep, the minimal-blast-radius fix is a pnpm.overrides constraint pinning vulnerable ranges to a patched version.

Changes

  • openclaw/package.json — adds:
    "pnpm": {
      "overrides": {
        "protobufjs@<7.5.5": "^7.5.5"
      }
    }
  • openclaw/pnpm-lock.yaml — regenerated. protobufjs now resolves to 7.5.6 (patched).

No source changes; no public API changes.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature
  • Breaking change
  • Refactor
  • Documentation update

Breaking Changes

None. protobufjs@7.5.6 is semver-compatible with 7.5.4 (the consumer is @google/genai, which declares protobufjs as a runtime dep without a tight version pin).

Test Coverage

  • Added/updated unit tests
  • Added/updated integration tests
  • Tested manually
  • No tests needed

Verified locally in openclaw/:

Step Result
pnpm install ✅ override applied; protobufjs@7.5.6 in lockfile; no 7.5.4 references remain
pnpm run build ✅ tsup build success (ESM + DTS)
pnpm run test 420/420 tests passing across 15 test files

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have added tests that prove my fix/feature works (existing test suite verifies no regressions)
  • New and existing tests pass locally
  • I have updated documentation if needed (N/A)

Adds a pnpm.overrides entry pinning the transitive protobufjs (pulled in
via mem0ai -> @google/genai) to ^7.5.5 to remediate GHSA-xq3m-2v4x-88gg
/ CVE-2026-41242 (code injection via malicious protobuf type fields,
CVSS 9.4). Lockfile resolves to 7.5.6.

Build and tests verified locally (420/420 passing).
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kk2211 kk2211 merged commit 594b4e6 into mem0ai:main Apr 29, 2026
5 of 6 checks passed
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