Skip to content
Fencer Intel
high —

GHSA-mhfv-8rc9-w38c json

Arbitrary shell execution

published 4y ago modified last yr.

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

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

Patch / fix

  • packagist squizlabs/php_codesniffer 2.8.1

Is GHSA-mhfv-8rc9-w38c in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
packagist squizlabs/php_codesniffer
>=1.0.0, <2.8.1
2.8.1

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.