-
Notifications
You must be signed in to change notification settings - Fork 394
Add advisory for unsound problem in wasmtime_jit_debug
#1999
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
base: main
Are you sure you want to change the base?
Conversation
It looks like it's been patched in v27 bytecodealliance/wasmtime@b5e31a5 can you mark it as patched in the advisory? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be updated with the patched version
Done. Thanks for your correction. |
pr is stil not merged. can a maintainer pleser merger it? |
@alexcrichton any feedback on this one? |
Personally, if acceptable, I'd prefer not to merge this. I think this was good to flag on our issue tracker and fix, but it's an internal crate to the project which we've documented users should not use. We have a number of Now how exactly that falls under the advisory db here I'm not sure. We would ideally lint/etc that users shouldn't directly depend on these internal crates (and we could probably do a better job of messaging in Wasmtime as well), but doing so through advisories feels like something we should figure out in Wasmtime better rather than here. Is it reasonable to ask this not be merged? If it's still desired to be merged I'd ask that we on Wasmtime have a moment to sort out how exactly to best discourage users from using internal crates before this is merged. Also, as a side note, this advisory says |
Given the purpose of internal-only usage, we can definitely delay merging this so you can figure out messaging/mitigation. In my mind, if the crate is published to crates.io as a library that someone could potentially use, then issues with public, safe API should be fair game for advisories... Maybe it could make sense to guard the contents of the crate with an |
I think I agree with that. |
Sounds reasonable! I've got an agenda item for our upcoming meeting next Thursday. I'll post here with a response after that |
A soundness bug in
wasmtime_jit_debug
that wrongly marks the functiondump_code_load_record
as 'safe'.The issue report: bytecodealliance/wasmtime#8905