Advisory

GHSA-mhfv-8rc9-w38c

Also known as: None

Summary

Arbitrary shell execution

Details

Uses of shell_exec() and exec() were not escaping filenames and configuration settings in most cases

Severity

High Basis: The source's own band: HIGH

Dates

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

Affected packages and fixes

squizlabs/php_codesniffer

Packagist · All systems

Affected

  • introduced 1.0.0, fixed 2.8.1 (ecosystem)

Fixed versions

2.8.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