Advisory

GHSA-3988-h75v-hwf6

Also known as: None

Summary

Arbitrary shell execution

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-03-26 00:06 UTC
Modified
2024-12-05 05:40 UTC

Affected packages and fixes

squizlabs/php_codesniffer

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.0.1 (ecosystem)

Fixed versions

3.0.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences