Skip to content

Arbitrary shell execution

High severity GitHub Reviewed Published Mar 26, 2022 to the GitHub Advisory Database • Updated Jan 11, 2023

Package

composer squizlabs/php_codesniffer (Composer)

Affected versions

>= 1.0.0, < 2.8.1

Patched versions

2.8.1

Description

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

References

Published to the GitHub Advisory Database Mar 26, 2022
Reviewed Mar 26, 2022
Last updated Jan 11, 2023

Severity

High

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-mhfv-8rc9-w38c
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.