Repository navigation
Add advisory for eventsource-stream panic on a leading byte order mark - #3708
Open
ninadphalak wants to merge 1 commit into
Open
ninadphalak wants to merge 1 commit into
ninadphalak wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Affected crate(s)
Links to upstream issue(s) or PR(s)
I did not find this bug. I am filing the advisory so that
cargo auditusers are warned: the latest release is from February 2022 and the repository has had no maintainer activity since August 2024.Severity
Remote denial of service by panic. A stream that starts with a UTF-8 byte order mark, which the event stream format allows, panics in the task that polls the parser. No memory unsafety.
I reproduced it on 0.2.3:
The slicing code is present from 0.2.0 on. The 0.1.x sources have no byte order mark handling, so I marked them unaffected.
Checklist
RUSTSEC-0000-0000as the IDdatefield is set to the public disclosure date (the date of the upstream pull request)On the last box: I have not asked the maintainer directly. He has not answered the upstream pull request, or the request for review on it, in ten months. If you want an upstream issue asking first, or would rather have this as an unmaintained notice, tell me and I will do that.