spin icon indicating copy to clipboard operation
spin copied to clipboard

Address `cargo audit` issues

Open dicej opened this issue 2 months ago • 1 comments

#3320 addressed some of the issues raised by cargo audit: the ones that do not require code changes. The remainder will require one or more of the following:

  • upgrading to newer, API-breaking dependency versions, where available, and fixing any compilation issues
  • submitting upstream patches to dependencies which are maintained but have cargo audit issues
  • finding replacements for any no-longer-maintained dependencies

The output of cargo audit is quite verbose (even with the -q option), so I won't paste it here. To see the full list, run cargo install cargo-audit --locked --features=fix && cargo audit at the root of the Spin repo. The main culprit as of this writing is watchexec (used by spin-watch) , which transitively depends on versions of gix-* crates with various vulnerabilities. Outside of that, the remaining issues are due to transitive deps with no known vulnerabilities but which are no longer maintained (but might be maintained under a different crate name in some cases).

dicej avatar Oct 23 '25 18:10 dicej

I've done #3340 for watchexec. (ETA: and url and async-tar)

itowlson avatar Oct 28 '25 22:10 itowlson