zipfile - extract truncates (existing) file when bad password provided (zip encryption weakness)
Đang mở
Chưa có ai nhận issue này.
stdlib
type-feature
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
| BPO | 36247 |
|---|---|
| Nosy | @Yhg1s, @ned-deily, @serhiy-storchaka, @CristiFati |
| PRs |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2019-03-08.22:56:50.804>
labels = ['3.8', 'type-bug', 'library']
title = 'zipfile - extract truncates (existing) file when bad password provided (zip encryption weakness)'
updated_at = <Date 2019-03-18.02:02:48.092>
user = 'https://github.com/CristiFati'
bugs.python.org fields:
activity = <Date 2019-03-18.02:02:48.092>
actor = 'ned.deily'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-03-08.22:56:50.804>
creator = 'CristiFati'
dependencies = []
files = []
hgrepos = []
issue_num = 36247
keywords = ['patch']
message_count = 5.0
messages = ['337543', '337545', '337570', '337610', '338155']
nosy_count = 5.0
nosy_names = ['twouters', 'alanmcintyre', 'ned.deily', 'serhiy.storchaka', 'CristiFati']
pr_nums = ['12242']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue36247'
versions = ['Python 3.8']
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.
Hướng nghiên cứu
Bắt đầu từ đường dẫn giải nén của zipfile trong Python và xem xét cách xử lý mật khẩu không đúng khi tệp đích đã tồn tại. So sánh hành vi hiện tại với kết quả được issue mong đợi: mật khẩu không đúng không được làm mất phần nội dung hiện có của tệp. PR #12242 được tham chiếu trong issue, vì vậy hãy kiểm tra phần việc đó trước khi bắt đầu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100