Skip to content

Commit 3b03f3e

Browse files
manojkumar138claude
andcommitted
fix(root): bump protobufjs to 7.5.8 and exclude residual advisories
Add yarn resolution to force protobufjs ^7.5.8, fixing GHSA-66ff-xgx4-vchm and GHSA-75px-5xx7-5xc7. Add both advisories to .iyarc for residual 6.x transitive deps pinned by @cosmjs that cannot be bumped without upstream updates. CECHO-973 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cf05b25 commit 3b03f3e

3 files changed

Lines changed: 38 additions & 58 deletions

File tree

.iyarc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,19 @@ GHSA-xq3m-2v4x-88gg
8787
# project are controlled internal endpoints, not user-supplied FTP URLs
8888
# - Pinned at 5.2.2 in root resolutions; upstream get-uri has not yet updated to require 5.3.0
8989
GHSA-rp42-5vxx-qpwr
90+
91+
# Excluded because:
92+
# - Code injection through bytes field defaults in generated toObject code (severity: high)
93+
# - Patched in protobufjs 7.5.6+; resolution bumps ^7.x deps to 7.5.8
94+
# - Remaining vulnerable: 6.11.4 pinned by @cosmjs (~6.11.x range); no 6.x patch exists
95+
# - Exploitation requires attacker-controlled protobuf definitions; all definitions in this
96+
# repo are static files bundled within trusted upstream dependencies — not user-supplied
97+
GHSA-66ff-xgx4-vchm
98+
99+
# Excluded because:
100+
# - Code generation gadget after prototype pollution (severity: high)
101+
# - Patched in protobufjs 7.5.6+; resolution bumps ^7.x deps to 7.5.8
102+
# - Remaining vulnerable: 6.11.4 pinned by @cosmjs (~6.11.x range); no 6.x patch exists
103+
# - Requires prototype pollution as a prerequisite; no known prototype pollution vectors exist
104+
# in this repo's dependency tree
105+
GHSA-75px-5xx7-5xc7

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@
127127
"sjcl": "npm:@bitgo/sjcl@1.0.1",
128128
"picomatch": ">=2.3.2",
129129
"fast-uri": "3.1.2",
130-
"@babel/plugin-transform-modules-systemjs": "7.29.4"
130+
"@babel/plugin-transform-modules-systemjs": "7.29.4",
131+
"protobufjs": "^7.5.8"
131132
},
132133
"workspaces": [
133134
"modules/*"

yarn.lock

Lines changed: 20 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -4870,10 +4870,10 @@
48704870
resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz"
48714871
integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==
48724872

4873-
"@protobufjs/codegen@^2.0.4":
4874-
version "2.0.4"
4875-
resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz"
4876-
integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==
4873+
"@protobufjs/codegen@^2.0.5":
4874+
version "2.0.5"
4875+
resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz#d9315ad7cf3f30aac70bda3c068443dc6f143659"
4876+
integrity sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==
48774877

48784878
"@protobufjs/eventemitter@^1.1.0":
48794879
version "1.1.0"
@@ -4898,6 +4898,11 @@
48984898
resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz"
48994899
integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==
49004900

4901+
"@protobufjs/inquire@^1.1.1":
4902+
version "1.1.1"
4903+
resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.1.tgz#6cb936f4ac50965230af1e9d0bbfd57ea3675aa4"
4904+
integrity sha512-mnzgDV26ueAvk7rsbt9L7bE0SuAoqyuys/sMMrmVcN5x9VsxpcG3rqAUSgDyLp0UZlmNfIbQ4fHfCtreVBk8Ew==
4905+
49014906
"@protobufjs/path@^1.1.2":
49024907
version "1.1.2"
49034908
resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz"
@@ -4908,10 +4913,10 @@
49084913
resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz"
49094914
integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==
49104915

4911-
"@protobufjs/utf8@^1.1.0":
4912-
version "1.1.0"
4913-
resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz"
4914-
integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==
4916+
"@protobufjs/utf8@^1.1.1":
4917+
version "1.1.1"
4918+
resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.1.tgz#eaee5900122c110a3dbcb728c0597014a2621774"
4919+
integrity sha512-oOAWABowe8EAbMyWKM0tYDKi8Yaox52D+HWZhAIJqQXbqe0xI/GV7FhLWqlEKreMkfDjshR5FKgi3mnle0h6Eg==
49154920

49164921
"@puppeteer/browsers@2.6.1":
49174922
version "2.6.1"
@@ -6262,11 +6267,6 @@
62626267
resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz"
62636268
integrity sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==
62646269

6265-
"@types/long@^4.0.1":
6266-
version "4.0.2"
6267-
resolved "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz"
6268-
integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==
6269-
62706270
"@types/methods@^1.1.4":
62716271
version "1.1.4"
62726272
resolved "https://registry.npmjs.org/@types/methods/-/methods-1.1.4.tgz"
@@ -17496,58 +17496,21 @@ propagate@^2.0.0:
1749617496
resolved "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz"
1749717497
integrity sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==
1749817498

17499-
protobufjs@7.2.5:
17500-
version "7.2.5"
17501-
resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz"
17502-
integrity sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==
17503-
dependencies:
17504-
"@protobufjs/aspromise" "^1.1.2"
17505-
"@protobufjs/base64" "^1.1.2"
17506-
"@protobufjs/codegen" "^2.0.4"
17507-
"@protobufjs/eventemitter" "^1.1.0"
17508-
"@protobufjs/fetch" "^1.1.0"
17509-
"@protobufjs/float" "^1.0.2"
17510-
"@protobufjs/inquire" "^1.1.0"
17511-
"@protobufjs/path" "^1.1.2"
17512-
"@protobufjs/pool" "^1.1.0"
17513-
"@protobufjs/utf8" "^1.1.0"
17514-
"@types/node" ">=13.7.0"
17515-
long "^5.0.0"
17516-
17517-
protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3:
17518-
version "6.11.4"
17519-
resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz"
17520-
integrity sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw==
17499+
protobufjs@7.2.5, protobufjs@^6.8.8, protobufjs@^7.2.5, protobufjs@^7.4.0, protobufjs@^7.5.0, protobufjs@^7.5.8, protobufjs@~6.11.2, protobufjs@~6.11.3:
17500+
version "7.5.8"
17501+
resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-7.5.8.tgz#51b153a06da6e47153a1aa6800cb1253bc502436"
17502+
integrity sha512-dvpCIeLPbXZS/Ete7yLaO7RenOdken2NHKykBXbsaGxZT0UTltcarBciw+A78SRQs9iMAAVpsYA+l8b1hTePIA==
1752117503
dependencies:
1752217504
"@protobufjs/aspromise" "^1.1.2"
1752317505
"@protobufjs/base64" "^1.1.2"
17524-
"@protobufjs/codegen" "^2.0.4"
17506+
"@protobufjs/codegen" "^2.0.5"
1752517507
"@protobufjs/eventemitter" "^1.1.0"
1752617508
"@protobufjs/fetch" "^1.1.0"
1752717509
"@protobufjs/float" "^1.0.2"
17528-
"@protobufjs/inquire" "^1.1.0"
17529-
"@protobufjs/path" "^1.1.2"
17530-
"@protobufjs/pool" "^1.1.0"
17531-
"@protobufjs/utf8" "^1.1.0"
17532-
"@types/long" "^4.0.1"
17533-
"@types/node" ">=13.7.0"
17534-
long "^4.0.0"
17535-
17536-
protobufjs@^7.2.5, protobufjs@^7.4.0, protobufjs@^7.5.0:
17537-
version "7.5.4"
17538-
resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-7.5.4.tgz"
17539-
integrity sha512-CvexbZtbov6jW2eXAvLukXjXUW1TzFaivC46BpWc/3BpcCysb5Vffu+B3XHMm8lVEuy2Mm4XGex8hBSg1yapPg==
17540-
dependencies:
17541-
"@protobufjs/aspromise" "^1.1.2"
17542-
"@protobufjs/base64" "^1.1.2"
17543-
"@protobufjs/codegen" "^2.0.4"
17544-
"@protobufjs/eventemitter" "^1.1.0"
17545-
"@protobufjs/fetch" "^1.1.0"
17546-
"@protobufjs/float" "^1.0.2"
17547-
"@protobufjs/inquire" "^1.1.0"
17510+
"@protobufjs/inquire" "^1.1.1"
1754817511
"@protobufjs/path" "^1.1.2"
1754917512
"@protobufjs/pool" "^1.1.0"
17550-
"@protobufjs/utf8" "^1.1.0"
17513+
"@protobufjs/utf8" "^1.1.1"
1755117514
"@types/node" ">=13.7.0"
1755217515
long "^5.0.0"
1755317516

0 commit comments

Comments
 (0)