In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.
Start learningUpgrade setup-php to version 2.37.1 or higher.
setup-php is a Setup PHP for use with GitHub Actions
Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the process that configures GitHub tokens for Composer in workflows where an exact affected Composer version is pinned. An attacker can obtain sensitive authentication tokens by accessing public repository logs that may inadvertently expose these tokens during Composer's validation of github-oauth authentication, especially when Composer rejects GitHub's newer hyphen-containing token format. This is only exploitable if a workflow pins an exact affected Composer version through the process, rather than using the default or a patched Composer version.
This vulnerability can be mitigated by avoiding the use of pinned affected Composer versions or by using patched Composer releases.