Skip to content

Update zstd dependency#7870

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:update-zstd
Feb 5, 2024
Merged

Update zstd dependency#7870
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:update-zstd

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

Looks like it's been awhile since our last update. I've updated the dependency here and additionally vetted the various dependency upgrades. I notably did not vet zstd-sys since that would require vetting all of zstd's C implementation itself which I am not, nor do I suspect many of are, equipped to do. In lieu of that I've updated the exemption of zstd-sys to the newer version.

Closes #7869

Looks like it's been awhile since our last update. I've updated the
dependency here and additionally vetted the various dependency upgrades.
I notably did not vet `zstd-sys` since that would require vetting all of
zstd's C implementation itself which I am not, nor do I suspect many of
are, equipped to do. In lieu of that I've updated the exemption of
`zstd-sys` to the newer version.

Closes bytecodealliance#7869
@alexcrichton alexcrichton requested review from a team as code owners February 5, 2024 17:27
@alexcrichton alexcrichton requested review from pchickey and removed request for a team February 5, 2024 17:27
@alexcrichton alexcrichton added this pull request to the merge queue Feb 5, 2024
Merged via the queue into bytecodealliance:main with commit 616d430 Feb 5, 2024
@alexcrichton alexcrichton deleted the update-zstd branch February 5, 2024 18:38
jameysharp added a commit to jameysharp/wasmtime that referenced this pull request Apr 1, 2024
When I tried to audit our previous exemption for zstd, I found two
buffer overruns which were reachable from safe Rust, although not
reachable from Wasmtime. I got them fixed upstream but didn't update our
cargo-vet audits to reflect the issue with the older versions.

Alex updated our dependencies to pull in the fixed versions in bytecodealliance#7870,
and this PR notes for the benefit of anyone importing the Bytecode
Alliance audit set that older versions should not be used.

See gyscos/zstd-rs#231
jameysharp added a commit to jameysharp/wasmtime that referenced this pull request Aug 26, 2024
When I tried to audit our previous exemption for zstd, I found two
buffer overruns which were reachable from safe Rust, although not
reachable from Wasmtime. I got them fixed upstream but didn't update our
cargo-vet audits to reflect the issue with the older versions.

Alex updated our dependencies to pull in the fixed versions in bytecodealliance#7870,
and this PR notes for the benefit of anyone importing the Bytecode
Alliance audit set that older versions should not be used.

See gyscos/zstd-rs#231
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.

Could bump version of zstd in wasmtime-cache?

2 participants