Vulnerability in BaseAI project

Đang mở
#162 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
cli, security

Hướng nghiên cứu

Start at the Wrangler CLI path for wrangler pages deploy, focusing on handling of the --commit-hash parameter during deployment. Trace where that value reaches the shell command, then add validation or sanitization and regression coverage demonstrating that command injection is not possible.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Description

While working on BaseAI project, I identified a security vulnerability in the Wrangler CLI during the deployment process. The vulnerability exists in the wrangler pages deploy command and is related to improper handling of the --commit-hash parameter. This parameter is directly passed into a shell command without proper validation or sanitization, which leads to a command injection vulnerability (CWE-78).

CVE Report
CVE Link

Code example

No response

Additional context

No response

Ngôn ngữ chính
TypeScript
Star
1.3k
Fork
112
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CommandCodeAI/BaseAI

Tất cả issue của CommandCodeAI/BaseAI

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.