GHSA-3988-h75v-hwf6

Suggest an improvement
Source
https://github.com/advisories/GHSA-3988-h75v-hwf6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-3988-h75v-hwf6/GHSA-3988-h75v-hwf6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3988-h75v-hwf6
Published
2022-03-26T00:06:45Z
Modified
2024-12-05T05:40:06Z
Summary
Arbitrary shell execution
Details

A properly crafted filename would allow for arbitrary code execution when using the --filter=gitmodified command line option

Database specific
{
    "cwe_ids":  [],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-03-26T00:06:45Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

Packagist / squizlabs/php_codesniffer

Package

Name
squizlabs/php_codesniffer
Purl
pkg:composer/squizlabs/php_codesniffer

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.0.1

Affected versions

3.*
3.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-3988-h75v-hwf6/GHSA-3988-h75v-hwf6.json"