voltra CLI pulls in @xmldom/xmldom 0.7, which has known high-severity vulnerabilities
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- nodejs, typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 864
- Fork
- 51
- Merge trung bình
- 2 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của callstackincubator/voltra
-
Per-widget server settings are not read for instance scopes (widgets with configuration parameters)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
callstackincubator/voltra#381 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
callstackincubator/voltra#376 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
iOS: first foreground after launch remounts the whole app (isHeadless written into root appProperties)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởplatform:iOS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
callstackincubator/voltra#340 · 1 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
refactor-scout
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
callstackincubator/voltra#308 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
refactor-scout
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
callstackincubator/voltra#307 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của callstackincubator/voltra
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
cursor/community-plugins#583 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
afk-ok importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
enorm-labs/event-junkie#5404 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Wavvon/Wavvon-clients#493 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
answerLoops/answerLoops#679 ·
Maintainer thường phản hồi trong vòng 1 ngày