Repository navigation
Security fix for the dependency scan. Affects 0.3.0 through 0.4.1. Upgrade
if you scan repositories you do not control, for example fork pull requests
in CI.
- The dependency scan (on by default) read manifests and their companion
files without checking that they were regular files inside the scanned
repo. A scanned repo could hang the scan with a FIFO or a symlink to
/dev/zero, or leak host secrets: agradle.propertiessymlinked out of
the repo (for example to~/.gradle) let$signingPasswordin
build.gradleresolve to the real value, which was printed in the report
and, when it looked like a version, sent to osv.dev. - Every file the dependency scan reads must now be a regular file, reached
without a symlink, inside the scan root and at most 50 MB. Skipped files are
named in the scan's degraded message. - Gradle and Maven property values are substituted into a version only when
they look like a plain version (1.2.3,2.0.0-RC1). - Upgrade with
pip install -U rowan-sast, or pin the GitHub Action to
hedgerow-dev/rowan@v0.4.2. Until then, run with--no-scaon untrusted
repositories.