Add advisory for stainless_ffmpeg FormatContext stream_index unsoundness - #2987
Conversation
|
Waiting for maintainer confirmation. |
|
Hi, just a gentle ping on this PR. The upstream maintainer was asked about the RustSec advisory, but I haven't received a response so far. |
|
Pinged the maintainers in the upstream issue. |
|
Thanks for following up! I also have a few other advisory PRs in a similar situation where the upstream issue was fixed or acknowledged, but there has been no response to the RustSec question for over a month: #2969, #2977, #2997 and #3017. For cases like these, would you prefer that I continue waiting for upstream responses, or is there a point where it makes sense to proceed or close the advisory PRs without further confirmation? Thanks for the guidance! |
|
Thanks for the guidance! I'll ping each PR individually after two weeks of inactivity going forward. |
Affected crate(s)
stainless_ffmpeg(634 recent downloads per crates.io)Links to upstream issue(s) or PR(s)
Severity
This advisory classifies the issue as informational
unsound. Affected versions exposed safe publicFormatContextmethods that accepted astream_indexparameter and used it in unsafe pointer operations without checking whether the index was valid. Safe callers could pass a negative or out-of-boundsstream_index, which could trigger undefined behavior without usingunsafe.The issue was fixed upstream in
0.6.0by marking the affected methods asunsafeand documenting the caller's safety requirement.Checklist
RUSTSEC-0000-0000as the IDdatefield is set to the public disclosure date