rustsec / advisory-db

Security advisory database for Rust crates published through crates.io
https://rustsec.org
Other
902 stars 349 forks source link

Unsoundness notice for gix-attributes (kstring integration) #2027

Closed EliahKagan closed 1 month ago

EliahKagan commented 1 month ago

gix-attributes was found by @ssbr to be unsound, as reported in https://github.com/Byron/gitoxide/issues/1460. This adds an informational notice for that, as discussed in comments there (cc @Byron).

The text of the notice is taken from that issue (083656c), with slight modification (1a50df1).

It looks like the affected code, having been introduced in https://github.com/Byron/gitoxide/pull/400, was most likely present in all published versions of the crate prior to the fix in 0.22.3 (which was one of the bugs fixed in https://github.com/Byron/gitoxide/pull/1462). So I have not specified a minimum affected version.

Shnatsel commented 1 month ago

Thank you! Looks good to me.

To clarify, why is this a draft? Is there anything else you want to do before we merge this?

Shnatsel commented 1 month ago

Looks good and I see the maintainer is on board. Merging. Thank you!

EliahKagan commented 1 month ago

[...] To clarify, why is this a draft? [...]

I think it didn't need to be a draft -- I had it as a draft while I was looking over the PR text and checking CI results.

Looks good and I see the maintainer is on board. Merging. Thank you!

Thanks for the very quick response! 😄