Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
Gem::Installer: 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: Gem installation paths and bindir resolution can be manipulated via directory traversal sequences if destination paths are not strictly canonicalized and verified against the gem's root prefix.
Path Traversal: Gem executables defined in specifications are vulnerable to directory traversal during pre-install validation if they are not constrained to strict basename checks.
Auth Bypass: Support for older package formats can result in silent bypasses of the configured security trust policy if verification logic does not explicitly forward the security policy to legacy handlers.