Skip to content

v1.8.1 — Security fix for the GitHub Action's PR comment

Latest

Choose a tag to compare

@lab700xdev lab700xdev released this 30 Nov 00:14

If you use the GitHub Action, update to this release. A crafted license in a model file could turn a CRITICAL finding into "No CRITICAL or HIGH risks found" in the Action's PR comment. Workflows on @v1 get the fix automatically. Workflows pinned to a tag or commit need to move to v1.8.1. The scanner and its output are the same as in 1.8.0.

Security

  • A model file can no longer change its own result in the GitHub Action's PR comment. The comment read the risk level from text that also holds the file's license. A | in that license could turn a CRITICAL finding into "No CRITICAL or HIGH risks found", in the comment and in the Action's telemetry. With comment-on-clean: false, it could also stop the comment being posted. The scan, the SBOM and the job's exit code were not affected, so a job with the default fail-on-risk: true still failed. File names, licenses, threat details and the scanned directory are now also shown as literal text, so they can't add links, images, mentions or table rows to the comment. Values over 300 characters are cut short.