Highlights
Deserialization of Untrusted Data: 1 prior fix. Scrutinize any change in this area.
src/Interceptor/PharMetaDataInterceptor.php: 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.
Signature Bypass: Attackers can construct craftily formatted Phar stubs that bypass the parser's regular expression matching for the standard compiler termination sequence. This allows archives containing executable code and serialized metadata to evade inspection, rendering downstream interceptors useless.
Deserialization of Untrusted Data: Phar archives containing serialized objects in their metadata trigger automatic PHP object injection (unserialize) when loaded. The PharMetaDataInterceptor must strictly block deserialization or sanitize the process to prevent arbitrary code execution.