[Security] Bump webrick from 1.8.1 to 1.8.2
Bumps webrick from 1.8.1 to 1.8.2. This update includes a security fix.
Vulnerabilities fixed
HTTP Request Smuggling in ruby webrick
An issue was discovered in the WEBrick toolkit through 1.8.1 for Ruby. It allows HTTP request smuggling by providing both a Content-Length header and a Transfer-Encoding header, e.g., "GET /admin HTTP/1.1\r\n" inside of a "POST /user HTTP/1.1\r\n" request. NOTE: the supplier's position is "Webrick should not be used in production."Patched versions: none
Affected versions: <= 1.8.1
Release notes
Sourced from webrick's releases.
v1.8.2
What's Changed
- Drop commented-out line by
@olleolleolle
in ruby/webrick#108- Add Ruby 3.1 & 3.2 to CI matrix by
@tricknotes
in ruby/webrick#109- Fix/redos by
@ooooooo-q
in ruby/webrick#114- Raise HTTPStatus::BadRequest for requests with invalid/duplicate content-length headers by
@jeremyevans
in ruby/webrick#120- Bump actions/checkout from 3 to 4 by
@dependabot
in ruby/webrick#121- Improve CI by
@hsbt
in ruby/webrick#123- Fix WEBrick::TestFileHandler#test_short_filename test not working on mswin by
@KJTsanaktsidis
in ruby/webrick#128- Fix bug chunk extension detection by
@jeremyevans
in ruby/webrick#125- Fix CI. by
@ioquatix
in ruby/webrick#131- Merge multiple cookie headers, preserving semantic correctness. by
@ioquatix
in ruby/webrick#130- Test on macos-latest by
@byroot
in ruby/webrick#132- Require CRLF line endings in request line and headers by
@jeremyevans
in ruby/webrick#138- Prefer squigly heredocs. by
@ioquatix
in ruby/webrick#143- Only strip space and horizontal tab in headers by
@jeremyevans
in ruby/webrick#141- Treat missing CRLF separator after headers as an EOFError by
@jeremyevans
in ruby/webrick#142- Return 400 response for chunked requests with unexpected data after chunk by
@jeremyevans
in ruby/webrick#136- Fix reference to URI::REGEXP::PATTERN::HOST by
@casperisfine
in ruby/webrick#144- Prevent request smuggling by
@jeremyevans
in ruby/webrick#146New Contributors
@tricknotes
made their first contribution in ruby/webrick#109@ooooooo-q
made their first contribution in ruby/webrick#114@KJTsanaktsidis
made their first contribution in ruby/webrick#128@byroot
made their first contribution in ruby/webrick#132@casperisfine
made their first contribution in ruby/webrick#144Full Changelog: https://github.com/ruby/webrick/compare/v1.8.1...v1.8.2
Commits
-
0fb9de6
Bump up v1.8.2 -
b9a4c81
Removed trailing spaces -
f5faca9
Prevent request smuggling -
0c600e1
Fix reference to URI::REGEXP::PATTERN::HOST -
15a9391
Return 400 response for chunked requests with unexpected data after chunk -
2b38d56
Treat missing CRLF separator after headers as an EOFError -
e4efb4a
Remove unnecessary gsub calls in test_httprequest.rb -
426e214
Only strip space and horizontal tab in headers -
e72cb69
Prefer squigly heredocs. (#143) -
ee60354
Require CRLF line endings in request line and headers - Additional commits viewable in compare view