Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import an old Wasmtime security advisory #2254

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexcrichton
Copy link
Contributor

Wasmtime recently got a request to have our security advisories published on the RustSec database as well. We've got a few old advisories on here but we haven't been keeping up-to-date with later advisories. In lieu of automatic imports from GitHub to RustSec we figured we'd in the interim manually fill in some fields.

In this PR I'm filing a security advisory for GHSA-88xq-w8cq-xfg7 which is a 3-year-old advisory at this point. This is to serve as an example for future imports of Wasmtime advisories so my hope is to get everything ok, copy this behavior for our other advisories that aren't listed in RustSec, and then applying this process to future advisories.

[Wasmtime] recently got a [request] to have our security advisories
published on the RustSec database as well. We've got a few old
advisories on here but we haven't been keeping up-to-date with later
advisories. In lieu of automatic imports from GitHub to RustSec we
figured we'd in the interim manually fill in some fields.

In this PR I'm filing a security advisory for [GHSA-88xq-w8cq-xfg7]
which is a 3-year-old advisory at this point. This is to serve as an
example for future imports of Wasmtime advisories so my hope is to get
everything ok, copy this behavior for our other advisories that aren't
listed in RustSec, and then applying this process to future advisories.

[Wasmtime]: https://crates.io/crates/wasmtime
[request]: bytecodealliance/wasmtime#10344
[GHSA-88xq-w8cq-xfg7]: GHSA-88xq-w8cq-xfg7
@alexcrichton
Copy link
Contributor Author

For maintainers here, two questions:

  • Is there a way to import multiple advisories at once? Or should I make a separate PR-per-advisory for the initial backfill?
  • Is it ok to have the body of the advisory here in RustSec be basically empty and point to the "official" source which for us is the GitHub-hosted version?

This is an entry in the RustSec database for the Wasmtime security advisory
located at
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-88xq-w8cq-xfg7.
For more information see the GitHub-hosted security advisory.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@peterhuene, can you release the copyright on the GHSA text here?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @riking. What is the process to do that? If all that is required is a comment stating I release any and all copyright on the text of the advisory, I do so herein.

If there's something more formal required, please let me know.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that's good. The Rustsec advisory DB is CC-0, so any imports from GHSA need separate copyright releases. @alexcrichton, ideally you can get that release before submitting the PR :)

@djc
Copy link
Contributor

djc commented Mar 22, 2025

IMO (as a recently joined maintainer):

For maintainers here, two questions:

  • Is there a way to import multiple advisories at once? Or should I make a separate PR-per-advisory for the initial backfill?

We don't need a PR-per-advisory, I'm fine with adding many of these in the same PR or even in the same commit.

  • Is it ok to have the body of the advisory here in RustSec be basically empty and point to the "official" source which for us is the GitHub-hosted version?

I think that's probably okay, as long as there's a decent title summarizing the issue. I'd suggest reducing the boilerplate:

This is an entry in the RustSec database for the Wasmtime security advisory located at GHSA-88xq-w8cq-xfg7. For more information see the GitHub-hosted security advisory.

Maybe like:

For more information, review the Wasmtime security advisory at GHSA-88xq-w8cq-xfg7.

@tarcieri
Copy link
Member

Is there a way to import multiple advisories at once? Or should I make a separate PR-per-advisory for the initial backfill?

@alexcrichton you can submit several advisories in a single PR, and the ID assigner will make a single PR to assign them all incrementing IDs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants