🚨 [security] Update rack: 2.1.1 → 2.1.4.3 (minor) #136
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 🚨
🚨 Possible DoS Vulnerability in Multipart MIME parsing
🚨 Denial of service via header parsing in Rack
🚨 Denial of Service Vulnerability in Rack Content-Disposition parsing
🚨 Denial of service via multipart parsing in Rack
🚨 Denial of Service Vulnerability in Rack Multipart Parsing
🚨 Possible shell escape sequence injection vulnerability in Rack
🚨 Percent-encoded cookies can be used to overwrite existing prefixed cookie names
🚨 Directory traversal in Rack::Directory app bundled with Rack
Release Notes
2.1.2 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 28 commits:
bump version
Limit all multipart parts, not just files
Merge branch '2-1-sec' into 2-1-stable
bump version
Update changelog
Fix ReDoS vulnerability in multipart parser
Fix ReDoS in Rack::Utils.get_byte_ranges
Forbid control characters in attributes
Merge branch '2-1-sec' into 2-1-stable
update changelog
bump version
Escape untrusted text when logging
Escape untrusted text when logging
Restrict broken mime parsing
bump version
When parsing cookies, only decode the values
fix directory listing
bump version
adding a test for directory traversal
Use Dir.entries instead of Dir[glob] to prevent user-specified glob metacharacters
Bump for 2.1.2 release
Update changelog in preparation for 2.1.2
Fix multipart parser for special files #1308
Fix `use` with kwargs
Skip deflating in Rack::Deflater if Content-Length is 0
#transform_keys no longer necessary, reverts #1401
Fix: Add to_hash to wrap Hash and Session classes
Handle case where session id key is requested but it is missing
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