Critical, CVSS 9.3PyPIAmendedPublished
GitHub personal access token leaking into temporary EasyBuild (debug) logs
CVE-2020-5262 · GHSA-2wx6-wc87-rmjm
- Affected
- PyPI easybuild < 4.1.2
- Fixed in
- 4.1.2· Vendor fix available
- Issue
- Impact The GitHub Personal Access Token (PAT) used by EasyBuild for the GitHub integration features (like --new-pr, --from-pr, etc.) is shown in plain text in EasyBuild debug log files. Scope: the log message only appears in the top-level log file, not in the individual software installation logs (see https://easybuild.readthedocs.io/en/latest/Logfiles.html); - as a consequence, tokens are not included in the partial log files that are uploaded into a gist when using --upload-test-report in combination with --from-pr, nor in the installation logs that are copied to the software installation directories; the message is only logged when using --debug, so it will not appear when using the default EasyBuild configuration (only info messages are logged by default); the log message is triggered via --from-pr, but also via various other GitHub integration options like --new-pr, --merge-pr, --close-pr, etc., but usually only appears in the temporary log file that is cleaned up automatically…
Recommended action: Upgrade to 4.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.