voltra CLI pulls in @xmldom/xmldom 0.7, which has known high-severity vulnerabilities
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- nodejs, typescript
調査の方向性
Start with packages/cli/package.json and run pnpm why @xmldom/xmldom in the repo to see the whole chain from @bacons/xcode through @expo/plist. Then read packages/cli/src/platforms/ios/xcode.ts to see how narrowly the parsed project files are used. Both proposed fixes are open-ended — wait for an upstream @bacons/xcode release or swap the pbxproj library — so confirm the choice with a maintainer before starting; done means pnpm audit no longer reports a high finding that reaches published CLI users.
索引モデルが issue の本文から書いたものです。
説明
The voltra CLI (packages/cli) depends on @bacons/xcode@^1.0.0-alpha.33, which depends on @expo/plist@^0.0.18. A caret range on 0.0.x pins it to 0.0.18 exactly, and that version requires @xmldom/xmldom@~0.7.0. There is no patched 0.7 release, so installing the CLI brings in @xmldom/xmldom 0.7.13, which pnpm audit and Dependabot flag with several high-severity advisories. After #370, this is the only high finding left that reaches users.
The CLI uses @bacons/xcode to open and edit the user's own Xcode project (packages/cli/src/platforms/ios/xcode.ts), so the vulnerable XML parsing only ever sees files from that project. The practical risk is low.
Ways to fix it:
- A release of
@bacons/xcodeon a current@expo/plist. The 0.10.x line uses@xmldom/xmldom ^0.8.8, and alpha.33 is the latest@bacons/xcoderelease. - Moving the CLI to a different pbxproj library.
A pnpm.overrides entry wouldn't help, because it only changes this repository's lockfile, not what users install.
- 主要言語
- TypeScript
- スター
- 864
- フォーク
- 51
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstackincubator/voltra のほかの issue
-
Per-widget server settings are not read for instance scopes (widgets with configuration parameters)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
callstackincubator/voltra#381 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
callstackincubator/voltra#376 ·
メンテナーはふだん 1 日以内に返信
-
iOS: first foreground after launch remounts the whole app (isHeadless written into root appProperties)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンplatform:iOS
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
callstackincubator/voltra#340 · コメント 1 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
refactor-scout
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
callstackincubator/voltra#308 ·
メンテナーはふだん 1 日以内に返信
-
refactor-scout
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
callstackincubator/voltra#307 ·
メンテナーはふだん 1 日以内に返信
callstackincubator/voltra の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
cursor/community-plugins#583 ·
メンテナーはふだん 1 日以内に返信
-
afk-ok importer size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
enorm-labs/event-junkie#5404 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Wavvon/Wavvon-clients#493 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
answerLoops/answerLoops#679 ·
メンテナーはふだん 1 日以内に返信