🚨 [security] Update rack: 2.0.5 → 2.0.8 (patch) #23
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.
Welcome to Depfu 👋
This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.
After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.
Let us know if you have any questions. Thanks so much for giving Depfu a try!
🚨 Your version of rack has known security vulnerabilities 🚨
Advisory: CVE-2019-16782
Disclosed: December 18, 2019
URL: https://github.com/rack/rack/security/advisories/GHSA-hrqr-hxpp-chr3
Possible information leak / session hijack vulnerability
🚨 We recommend to merge and deploy this update 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?
Commits
See the full diff on Github. The new version differs by 23 commits:
Bumping versionIntroduce a new base class to avoid breaking when upgradingAdd a version prefix to the private id to make easier to migrate old valuesFallback to the public id when reading the session in the pool adapterAlso drop the session with the public id when destroying sessionsFallback to the legacy id when the new id is not foundAdd the private idrevert conditionals to masterremove NullSessionremove || raise and get closer to masterstore hashed id, send public iduse session id objectsremove more nilstry to ensure we always have some kind of objectBumping to 2.0.7 for releaseMerge pull request #1343 from larsxschneider/ls/forward-fixPreserve forwarded IP address for trusted proxy chainsMerge pull request #1201 from janko-m/make-multipart-parsing-work-for-chunked-requestsBumping version for releaseWhitelist http/https schemesReduce buffer size to avoid pathological parsingMerge tag '2.0.5' into 2-0-stableMerge pull request #1296 from tomelm/fix-prefers-plaintextDepfu 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