Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
src/main/java/org/codehaus/plexus/util/Expand.java: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix 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: The Expand utility was vulnerable to a classic Zip Slip vulnerability where crafted archive entry paths could escape the target directory during extraction. Developers must ensure all file-writing paths utilize canonical path validation against a trusted base directory before writing content to disk.
Command Injection: Command execution via CmdShell was vulnerable to side-channel execution of registry-configured AutoRun commands because cmd.exe was invoked without defensive flags. Developers must guarantee that execution shells enforce strict argument policies, such as executing cmd.exe with the /D flag, and carefully escape double-quoted shell arguments.