🚨 [security] Update websocket-driver 0.7.0 → 0.8.2 (major) - #293
Open
depfu[bot] wants to merge 1 commit into
Open
🚨 [security] Update websocket-driver 0.7.0 → 0.8.2 (major)#293depfu[bot] wants to merge 1 commit into
depfu[bot] wants to merge 1 commit into
Conversation
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.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
Security Advisories 🚨
🚨 websocket-driver-ruby: Denial of service via malformed Host header
🚨 websocket-driver: Memory exhaustion via abuse of protocol length headers
🚨 websocket-driver: Resource limit bypass via message compression
🚨 websocket-driver: Memory exhaustion in HTTP header parser
Release Notes
0.8.2 (from changelog)
0.8.1 (from changelog)
0.8.0 (from changelog)
0.7.7 (from changelog)
0.7.6 (from changelog)
0.7.5 (from changelog)
0.7.4 (from changelog)
0.7.3 (from changelog)
0.7.2 (from changelog)
0.7.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 69 commits:
Bump version to 0.8.2Gracefully handle malformed `Host` headers in the `Server` driverBump version to 0.8.1Limit the total HTTP request line and headers size to 32KFail the connection if a message is larger than the configured max length after extension processingClose a draft-75/76 connection if a length header grows to exceed the configured max lengthTest on Ruby 4.0Update release date for 0.8.0Prefer text frames over binary; if the input is in some non-UTF-8 text encoding, then transcode itBump version to 0.8.0Default to text frames if the input buffer is specifically UTF8-encodedRemove Ruby versions unsupported by GitHubMove the changelog_uri closer to other similar metadataMerge pull request #93 from mark-young-atg/provide_changelog_link_on_rubygemsUpdate the documentation for representation of binary messagesEmit binary frames as binary strings by default, and make Driver.frame() treat such strings as binary framesMerge pull request #95 from mackuba/binary_formatadded :binary_data_format optionProvide a 'Changelog' link on rubygems.org/gems/websocker-driverBump version to 0.7.7Test on Ruby 3.3 and 3.4Merge pull request #91 from HoneyryderChuck/patch-1add base64 gem to gemspecRun tests on some additional Ruby versionsBump version to 0.7.6Test on Ruby 3.2Fix handling of default ports on Ruby 3.1Run tests on Ruby 3.1Merge pull request #85 from danielmorrison/support-frozen-by-defaultRemove implied wss support from the TCPSocket exampleFlag files that modify string literalsBump version to 0.7.5Clarify behaviour of Driver.encode to convert strings to UTF-8 and arrays to ASCII-8BITDo not change the encoding of strings passed to text()Bump version to 0.7.4Switch from Travis CI to GitHub ActionsEnable Bundler caching for TravisMerge pull request #75 from matti/patch-1Validate UTF-8 encoding of strings where needed, not on every call to Driver.encodeAvoid allocating an array of the string bytes in Hybi#emit_frameAvoid allocating so many arrays during Hybi#frameUse the Ruby Encoding constants instead of their string namesUpdate Ruby versions on TravisMerge pull request #77 from timcraft/patch-1Test on ruby 3.0Bump version to 0.7.3Accept HTTP responses that have an empty reason-phrase, per RFC 2616README: example of http responseBump version to 0.7.2Set {source,target}_version to work with the current version of javac on macOSUpdate Ruby versions 2.4 to 2.7 on TravisAllow rack.input.read to return a frozen stringEmit ping and pong events from the Server driverMention license change in the changelogFormatting change: {...} should have spaces inside the bracesBump version to 0.7.1Change markdown formatting of docs.Remove a redundant statement from the Hybi setup code.Fail a draft-76 connection of a header does not contain any digits.Depend on Rake < 12.3 if we're running on Ruby < 2.0.Reformat the C and Java native extension modules.Fix an uninitialised variable warning.Update Travis target versions.Switch license to Apache 2.0.Test on Ruby 2.5.0.I think you have to use jruby-head instead of jruby-9 now.Bump the Ruby versions for Travis.If any header used by Hybi is present, then pick Hybi, and likewise for Draft76. This means the driver is more likely to pick Hybi and report likely combinations of malformed headers as errors to the client.If any driver encounters a validation error in the request headers, it can throw an error and Driver#start will catch that and send a 400 response to the client.Security Advisories 🚨
🚨 Regular Expression Denial of Service in websocket-extensions (RubyGem)
Release Notes
0.1.5 (from changelog)
0.1.4 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 13 commits:
Bump version to 0.1.5Remove ReDoS vulnerability in the Sec-WebSocket-Extensions header parserTest on JRuby 9.{0,1,2} rather than "head"Update Ruby versions 2.4 to 2.7 on TravisMention license change in the changelogFormatting change: {...} should have spaces inside the bracesBump version to 0.1.4Change markdown formatting of docs.Fix deprecation warning about =~ being called on TrueClass.Fix RSpec warnings about raise_error with no arguments.Update Travis target versions.Switch license to Apache 2.0.Test on Ruby 2.5.0.🆕 base64 (added, 0.3.0)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands