Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
src/wheel/_commands/convert.py: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Path Traversal: Writing a wheel file to a path derived from archive metadata (name/version) without validating the destination parent allows arbitrary file write outside the intended directory.
Path Traversal: Performing chmod on a path derived from an archive entry filename without using the safe path returned by extract() enables arbitrary file permission changes via traversal.
ReDoS: The WHEEL_INFO_RE regex used to match untrusted filenames can cause catastrophic backtracking, leading to CPU exhaustion.