logo

GHSA-mhfv-8rc9-w38c squizlabs/php_codesniffer

Package

Manager: composer
Name: squizlabs/php_codesniffer
Vulnerable Version: >=1.0.0 <2.8.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

EPSS: N/A pctlN/A

Details

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

Metadata

Created: 2022-03-26T00:06:00Z
Modified: 2022-03-26T00:06:00Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-mhfv-8rc9-w38c/GHSA-mhfv-8rc9-w38c.json
CWE IDs: []
Alternative ID: N/A
Finding: F004
Auto approve: 1