This is a test release for the new install scripts.
Added
cargo nextest self setupaccepts a new--source install-scriptvalue. The upcoming install scripts atget.nexte.struncargo nextest self setup --source install-scriptafter installing nextest. As with other sources, setup is currently a no-op.
Changed
- Nextest now rejects malformed or untrusted inputs in a few more places:
-
When reusing builds, archive extraction now fails if the archive contains entries other than regular files and directories, such as symlinks, hard links, devices, or FIFOs. Archives created by
cargo nextest archivenever contain such entries. (#3710)This is not classified as a security issue becaus build archives are not (and cannot be, because they contain arbitrary executable code) a trust boundary.
-
When reusing builds for a custom target, nextest now rejects target triples that contain path separators or are absolute paths. (#3711)
The common situation where this can happen is with a build archive. Like in the above case, this is not classified as a security issue.
-
With run recording, replaying a recording now fails with an error if a line in its run log is too large, rather than reading the entire line into memory. (#3712)
This is not classified as a security issue because it is a denial of service in an experimental feature. Unlike the recent security fix in nextest 0.9.150, it is not possible to run arbitrary code in this manner.
-
Thanks to inanna-malick for reporting these issues.