Audit vulnerabilities detected in the createhash project on Tag: v1.2.0
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- security
Hướng nghiên cứu
Bắt đầu tại thư mục gốc của dự án, trong package.json, và chạy npm audit để xác nhận các lỗ hổng được báo cáo trong các dependency trim-newlines và meow. Áp dụng biện pháp khắc phục dependency được đề xuất, sau đó chạy lại npm audit; hoàn tất có nghĩa là các lỗ hổng có mức độ nghiêm trọng cao được báo cáo đã được giải quyết mà không làm hỏng dự án.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue: We detected vulnerable dependencies in your project by using the command “npm audit”:
npm audit report
trim-newlines <3.0.1 || =4.0.0
Severity: high
Regular Expression Denial of Service - https://npmjs.com/advisories/1753
fix available via npm audit fix
node_modules/trim-newlines
meow 3.4.0 - 5.0.0
Depends on vulnerable versions of trim-newlines
node_modules/meow
2 high severity vulnerabilities
To address all issues, run:
npm audit fix
Questions: We are conducting a research study on vulnerable dependencies in open-source JS projects. We are curious:
- Will you fix the vulnerabilities mentioned above? (Yes/No), and why?:
- Do you have any additional comments? (If so, please write it down):
For any publication or research report based on this study, we will share all responses from developers in an anonymous way. Both your projects and personal information will be kept confidential.
Description: Many popular NPM packages have been found vulnerable and may carry significant risks [1]. Developers are recommended to monitor and avoid the vulnerable versions of the library. The vulnerabilities have been identified and reported by other developers, and their descriptions are available in the npm registry [2].
Steps to reproduce:
- Go to the root folder of the project where the package.json file located
- Execute “npm audit”
- Look at the list of vulnerabilities reported
Suggested Solution: Npm has introduced the “npm audit fix” command to fix the vulnerabilities. Execute the command to apply remediation to the dependency tree.
References:
2019. 10 npm Security Best Practices. https://snyk.io/blog/ten-npm-security-best-practices/.
2021. npm-audit. https://docs.npmjs.com/cli/v7/commands/npm-audit.
- Ngôn ngữ chính
- JavaScript
- Star
- 53
- Fork
- 37
- 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
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 browserify/createHash
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
browserify/createHash#30 · 1 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
browserify/createHash#29 · 3 bình luận · 6 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
browserify/createHash#28 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
browserify/createHash#26 · 5 bình luận · 6 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
browserify/createHash#20 · 8 bình luận · 1 reaction ·
Tất cả issue của browserify/createHash
Issue tương tự
-
Update HugeIcons library Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
antfu-collective/icones#398 ·
-
ECmail.com Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
wesbos/burner-email-providers#554 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
components-web-app/docs#92 ·