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
Aborted in CWriter::MangleType at wasm2c #1984
Comments
|
wasm2c currently aborts on any SIMD instructions or types. Probably it should configure the validator to disable SIMD (or we should implement SIMD in wasm2c). |
|
Will be fixed by #2021 |
|
Fixed by #2119 |
|
CVE-2023-27116 for the record. |
|
This particular one is a bit silly -- a well-detected unsupported feature (in this case, it was SIMD) doesn't represent a security vulnerability, even if the program is missing a helpful error message. I suspect if wasm2c threw exceptions instead of aborting (and had a descriptive error message), nobody would have been confused here. But, MITRE didn't ask our opinion before issuing the CVE, and I imagine the reporter here was eager to have a CVE credited to them. :-/ |
Title
Aborted in CWriter::MangleType at wasm2c
Environment
Proof of concept
poc.wasm2c-2.wasm
poc_wasm2c-2.wasm.zip
Stack dump
The text was updated successfully, but these errors were encountered: