GHSA-3988-h75v-hwf6
HIGHArbitrary shell execution
A properly crafted filename would allow for arbitrary code execution when using the --filter=gitmodified command line option
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | squizlabs/php_codesniffer | >= 3.0.0, < 3.0.1 | 3.0.1 |
References
- https://github.com/FriendsOfPHP/security-advisories/blob/master/squizlabs/php_codesniffer/2017-05-18.yaml · WEB
- https://github.com/squizlabs/PHP_CodeSniffer · PACKAGE
- https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.0.1 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Mar 2022)