🚨 [security] Update sinatra 4.1.1 → 4.2.1 (minor)
👉 This PR is queued up to get rebased by Depfu
🚨 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?
✳️ sinatra (4.1.1 → 4.2.1) · Repo · Changelog
Security Advisories 🚨
🚨 Sinatra is vulnerable to ReDoS through ETag header value generation
Summary
There is a denial of service vulnerability in the
If-MatchandIf-None-Matchheader parsing component of Sinatra, if theetagmethod is used when constructing the response and you are using Ruby < 3.2.Details
Carefully crafted input can cause
If-MatchandIf-None-Matchheader parsing in Sinatra to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is typically involved in generating theETagheader value. Any applications that use theetagmethod when generating a response are impacted if they are using Ruby below version 3.2.Resources
- #2120 (report)
- #2121 (fix)
- #1823 (older ReDoS vulnerability)
- https://bugs.ruby-lang.org/issues/19104 (fix in Ruby >= 3.2)
Release Notes
4.2.0 (from changelog)
- New: Add
:static_headerssetting for custom headers in static file responses (#2089)- Fix: Fix regex in
etag_matches?to prevent ReDoS (#2121)- Fix:
PATH_INFOcan never be empty (#2114)- Fix: Fix malformed Content-Type headers (#2081)
- Fix: Avoid crash for integer values in
content_typeparameters (#2078)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
4.2.1 release (#2125)Revert "`PATH_INFO` can never be empty." (#2124)4.2.0 release (#2122)Fix regex in `etag_matches?` to prevent ReDoS (#2121)`PATH_INFO` can never be empty. (#2114)Skip broken tests. (#2115)Sync changelog for v4.0.1Add :static_headers setting for custom headers in static file responses (#2089)Set `rubygems_mfa_required` for the `sinatra` gem (#2087)README: Remove duplicate mention of installing puma (#2091)CI: don't use `Rack::Lint` on invalid hostname (#2086)CI: Test with Ruby 3.4 (#2083)Fix malformed Content-Type headers (#2081)Avoid crash for integer values in `content_type` parameters (#2078)
✳️ rack (3.1.12 → 3.2.3) · Repo · Changelog
Security Advisories 🚨
🚨 Rack has a Possible Information Disclosure Vulnerability
Summary
A possible information disclosure vulnerability existed in
Rack::Sendfilewhen running behind a proxy that supportsx-sendfileheaders (such as Nginx). Specially crafted headers could causeRack::Sendfileto miscommunicate with the proxy and trigger unintended internal requests, potentially bypassing proxy-level access restrictions.Details
When
Rack::Sendfilereceived untrustedx-sendfile-typeorx-accel-mappingheaders from a client, it would interpret them as proxy configuration directives. This could cause the middleware to send a "redirect" response to the proxy, prompting it to reissue a new internal request that was not subject to the proxy's access controls.An attacker could exploit this by:
- Setting a crafted
x-sendfile-type: x-accel-redirectheader.- Setting a crafted
x-accel-mappingheader.- Requesting a path that qualifies for proxy-based acceleration.
Impact
Attackers could bypass proxy-enforced restrictions and access internal endpoints intended to be protected (such as administrative pages). The vulnerability did not allow arbitrary file reads but could expose sensitive application routes.
This issue only affected systems meeting all of the following conditions:
- The application used
Rack::Sendfilewith a proxy that supportsx-accel-redirect(e.g., Nginx).- The proxy did not always set or remove the
x-sendfile-typeandx-accel-mappingheaders.- The application exposed an endpoint that returned a body responding to
.to_path.Mitigation
Upgrade to a fixed version of Rack which requires explicit configuration to enable
x-accel-redirect:use Rack::Sendfile, "x-accel-redirect"Alternatively, configure the proxy to always set or strip the headers (you should be doing this!):
proxy_set_header x-sendfile-type x-accel-redirect; proxy_set_header x-accel-mapping /var/www/=/files/;Or in Rails applications, disable sendfile completely:
config.action_dispatch.x_sendfile_header = nil
🚨 Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing
Summary
Rack::Request#POSTreads the entire request body into memory forContent-Type: application/x-www-form-urlencoded, callingrack.input.read(nil)without enforcing a length or cap. Large request bodies can therefore be buffered completely into process memory before parsing, leading to denial of service (DoS) through memory exhaustion.Details
When handling non-multipart form submissions, Rack’s request parser performs:
form_vars = get_header(RACK_INPUT).readSince
readis called with no argument, the entire request body is loaded into a RubyString. This occurs before query parameter parsing or enforcement of anyparams_limit. As a result, Rack applications without an upstream body-size limit can experience unbounded memory allocation proportional to request size.Impact
Attackers can send large
application/x-www-form-urlencodedbodies to consume process memory, causing slowdowns or termination by the operating system (OOM). The effect scales linearly with request size and concurrency. Even with parsing limits configured, the issue occurs before those limits are enforced.Mitigation
- Update to a patched version of Rack that enforces form parameter limits using
query_parser.bytesize_limit, preventing unbounded reads ofapplication/x-www-form-urlencodedbodies.- Enforce strict maximum body size at the proxy or web server layer (e.g., Nginx
client_max_body_size, ApacheLimitRequestBody).
🚨 Rack has a Possible Information Disclosure Vulnerability
Summary
A possible information disclosure vulnerability existed in
Rack::Sendfilewhen running behind a proxy that supportsx-sendfileheaders (such as Nginx). Specially crafted headers could causeRack::Sendfileto miscommunicate with the proxy and trigger unintended internal requests, potentially bypassing proxy-level access restrictions.Details
When
Rack::Sendfilereceived untrustedx-sendfile-typeorx-accel-mappingheaders from a client, it would interpret them as proxy configuration directives. This could cause the middleware to send a "redirect" response to the proxy, prompting it to reissue a new internal request that was not subject to the proxy's access controls.An attacker could exploit this by:
- Setting a crafted
x-sendfile-type: x-accel-redirectheader.- Setting a crafted
x-accel-mappingheader.- Requesting a path that qualifies for proxy-based acceleration.
Impact
Attackers could bypass proxy-enforced restrictions and access internal endpoints intended to be protected (such as administrative pages). The vulnerability did not allow arbitrary file reads but could expose sensitive application routes.
This issue only affected systems meeting all of the following conditions:
- The application used
Rack::Sendfilewith a proxy that supportsx-accel-redirect(e.g., Nginx).- The proxy did not always set or remove the
x-sendfile-typeandx-accel-mappingheaders.- The application exposed an endpoint that returned a body responding to
.to_path.Mitigation
Upgrade to a fixed version of Rack which requires explicit configuration to enable
x-accel-redirect:use Rack::Sendfile, "x-accel-redirect"Alternatively, configure the proxy to always set or strip the headers (you should be doing this!):
proxy_set_header x-sendfile-type x-accel-redirect; proxy_set_header x-accel-mapping /var/www/=/files/;Or in Rails applications, disable sendfile completely:
config.action_dispatch.x_sendfile_header = nil
🚨 Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing
Summary
Rack::Request#POSTreads the entire request body into memory forContent-Type: application/x-www-form-urlencoded, callingrack.input.read(nil)without enforcing a length or cap. Large request bodies can therefore be buffered completely into process memory before parsing, leading to denial of service (DoS) through memory exhaustion.Details
When handling non-multipart form submissions, Rack’s request parser performs:
form_vars = get_header(RACK_INPUT).readSince
readis called with no argument, the entire request body is loaded into a RubyString. This occurs before query parameter parsing or enforcement of anyparams_limit. As a result, Rack applications without an upstream body-size limit can experience unbounded memory allocation proportional to request size.Impact
Attackers can send large
application/x-www-form-urlencodedbodies to consume process memory, causing slowdowns or termination by the operating system (OOM). The effect scales linearly with request size and concurrency. Even with parsing limits configured, the issue occurs before those limits are enforced.Mitigation
- Update to a patched version of Rack that enforces form parameter limits using
query_parser.bytesize_limit, preventing unbounded reads ofapplication/x-www-form-urlencodedbodies.- Enforce strict maximum body size at the proxy or web server layer (e.g., Nginx
client_max_body_size, ApacheLimitRequestBody).
🚨 Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)
Summary
Rack::Multipart::Parserbuffers the entire multipart preamble (bytes before the first boundary) in memory without any size limit. A client can send a large preamble followed by a valid boundary, causing significant memory use and potential process termination due to out-of-memory (OOM) conditions.Details
While searching for the first boundary, the parser appends incoming data into a shared buffer (
@sbuf.concat(content)) and scans for the boundary pattern:@sbuf.scan_until(@body_regex)If the boundary is not yet found, the parser continues buffering data indefinitely. There is no trimming or size cap on the preamble, allowing attackers to send arbitrary amounts of data before the first boundary.
Impact
Remote attackers can trigger large transient memory spikes by including a long preamble in multipart/form-data requests. The impact scales with allowed request sizes and concurrency, potentially causing worker crashes or severe slowdown due to garbage collection.
Mitigation
- Upgrade: Use a patched version of Rack that enforces a preamble size limit (e.g., 16 KiB) or discards preamble data entirely per RFC 2046 § 5.1.1.
- Workarounds:
- Limit total request body size at the proxy or web server level.
- Monitor memory and set per-process limits to prevent OOM conditions.
🚨 Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion)
Summary
Rack::Multipart::Parsercan accumulate unbounded data when a multipart part’s header block never terminates with the required blank line (CRLFCRLF). The parser keeps appending incoming bytes to memory without a size cap, allowing a remote attacker to exhaust memory and cause a denial of service (DoS).Details
While reading multipart headers, the parser waits for
CRLFCRLFusing:@sbuf.scan_until(/(.*?\r\n)\r\n/m)If the terminator never appears, it continues appending data (
@sbuf.concat(content)) indefinitely. There is no limit on accumulated header bytes, so a single malformed part can consume memory proportional to the request body size.Impact
Attackers can send incomplete multipart headers to trigger high memory use, leading to process termination (OOM) or severe slowdown. The effect scales with request size limits and concurrency. All applications handling multipart uploads may be affected.
Mitigation
- Upgrade to a patched Rack version that caps per-part header size (e.g., 64 KiB).
- Until then, restrict maximum request sizes at the proxy or web server layer (e.g., Nginx
client_max_body_size).
🚨 Rack: Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)
Summary
Rack::Multipart::Parserstores non-file form fields (parts without afilename) entirely in memory as RubyStringobjects. A single large text field in a multipart/form-data request (hundreds of megabytes or more) can consume equivalent process memory, potentially leading to out-of-memory (OOM) conditions and denial of service (DoS).Details
During multipart parsing, file parts are streamed to temporary files, but non-file parts are buffered into memory:
body = String.new # non-file → in-RAM buffer @mime_parts[mime_index].body << contentThere is no size limit on these in-memory buffers. As a result, any large text field—while technically valid—will be loaded fully into process memory before being added to
params.Impact
Attackers can send large non-file fields to trigger excessive memory usage. Impact scales with request size and concurrency, potentially leading to worker crashes or severe garbage-collection overhead. All Rack applications processing multipart form submissions are affected.
Mitigation
- Upgrade: Use a patched version of Rack that enforces a reasonable size cap for non-file fields (e.g., 2 MiB).
- Workarounds:
- Restrict maximum request body size at the web-server or proxy layer (e.g., Nginx
client_max_body_size).- Validate and reject unusually large form fields at the application level.
🚨 Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)
Summary
Rack::Multipart::Parserbuffers the entire multipart preamble (bytes before the first boundary) in memory without any size limit. A client can send a large preamble followed by a valid boundary, causing significant memory use and potential process termination due to out-of-memory (OOM) conditions.Details
While searching for the first boundary, the parser appends incoming data into a shared buffer (
@sbuf.concat(content)) and scans for the boundary pattern:@sbuf.scan_until(@body_regex)If the boundary is not yet found, the parser continues buffering data indefinitely. There is no trimming or size cap on the preamble, allowing attackers to send arbitrary amounts of data before the first boundary.
Impact
Remote attackers can trigger large transient memory spikes by including a long preamble in multipart/form-data requests. The impact scales with allowed request sizes and concurrency, potentially causing worker crashes or severe slowdown due to garbage collection.
Mitigation
- Upgrade: Use a patched version of Rack that enforces a preamble size limit (e.g., 16 KiB) or discards preamble data entirely per RFC 2046 § 5.1.1.
- Workarounds:
- Limit total request body size at the proxy or web server level.
- Monitor memory and set per-process limits to prevent OOM conditions.
🚨 Rack: Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)
Summary
Rack::Multipart::Parserstores non-file form fields (parts without afilename) entirely in memory as RubyStringobjects. A single large text field in a multipart/form-data request (hundreds of megabytes or more) can consume equivalent process memory, potentially leading to out-of-memory (OOM) conditions and denial of service (DoS).Details
During multipart parsing, file parts are streamed to temporary files, but non-file parts are buffered into memory:
body = String.new # non-file → in-RAM buffer @mime_parts[mime_index].body << contentThere is no size limit on these in-memory buffers. As a result, any large text field—while technically valid—will be loaded fully into process memory before being added to
params.Impact
Attackers can send large non-file fields to trigger excessive memory usage. Impact scales with request size and concurrency, potentially leading to worker crashes or severe garbage-collection overhead. All Rack applications processing multipart form submissions are affected.
Mitigation
- Upgrade: Use a patched version of Rack that enforces a reasonable size cap for non-file fields (e.g., 2 MiB).
- Workarounds:
- Restrict maximum request body size at the web-server or proxy layer (e.g., Nginx
client_max_body_size).- Validate and reject unusually large form fields at the application level.
🚨 Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion)
Summary
Rack::Multipart::Parsercan accumulate unbounded data when a multipart part’s header block never terminates with the required blank line (CRLFCRLF). The parser keeps appending incoming bytes to memory without a size cap, allowing a remote attacker to exhaust memory and cause a denial of service (DoS).Details
While reading multipart headers, the parser waits for
CRLFCRLFusing:@sbuf.scan_until(/(.*?\r\n)\r\n/m)If the terminator never appears, it continues appending data (
@sbuf.concat(content)) indefinitely. There is no limit on accumulated header bytes, so a single malformed part can consume memory proportional to the request body size.Impact
Attackers can send incomplete multipart headers to trigger high memory use, leading to process termination (OOM) or severe slowdown. The effect scales with request size limits and concurrency. All applications handling multipart uploads may be affected.
Mitigation
- Upgrade to a patched Rack version that caps per-part header size (e.g., 64 KiB).
- Until then, restrict maximum request sizes at the proxy or web server layer (e.g., Nginx
client_max_body_size).
🚨 ReDoS Vulnerability in Rack::Multipart handle_mime_head
Summary
There is a denial of service vulnerability in the Content-Disposition parsing component of Rack. This is very similar to the previous security issue CVE-2022-44571.
Details
Carefully crafted input can cause Content-Disposition header parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is used typically used in multipart parsing. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted.
Credits
Thanks to scyoon for reporting this to the Rails security team
🚨 Rack has an Unbounded-Parameter DoS in Rack::QueryParser
Summary
Rack::QueryParserparses query strings andapplication/x-www-form-urlencodedbodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters.Details
The vulnerability arises because
Rack::QueryParseriterates over each&-separated key-value pair and adds it to a Hash without enforcing an upper bound on the total number of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing.Impact
An attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted.
Mitigation
- Update to a version of Rack that limits the number of parameters parsed, or
- Use middleware to enforce a maximum query string size or parameter count, or
- Employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies.
Limiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation.
Release Notes
3.2.2 (from changelog)
Security
- CVE-2025-61772 Multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion)
- CVE-2025-61771 Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)
- CVE-2025-61770 Unbounded multipart preamble buffering enables DoS (memory exhaustion)
3.2.0 (from changelog)
This release continues Rack's evolution toward a cleaner, more efficient foundation while maintaining backward compatibility for most applications. The breaking changes primarily affect deprecated functionality, so most users should experience a smooth upgrade with improved performance and standards compliance.
SPEC Changes
- Request environment keys must now be strings. (#2310, @jeremyevans)
- Add
nilas a valid return from a Responsebody.to_path(#2318, [@MSP-Greg])Rack::Lint#check_header_valueis relaxed, only disallowing CR/LF/NUL characters. (#2354, @ioquatix)Added
- Introduce
Rack::VERSIONconstant. (#2199, @ioquatix)ISO-2022-JPencoded parts within MIME Multipart sections of an HTTP request body will now be converted toUTF-8. (#2245, @nappa)- Add
Rack::Request#query_parser=to allow setting the query parser to use. (#2349, @jeremyevans)- Add
Rack::Request#form_pairsto access form data as raw key-value pairs, preserving duplicate keys. (#2351, @matthewd)Changed
- Invalid cookie keys will now raise an error. (#2193, @ioquatix)
Rack::MediaType#paramsnow handles empty strings. (#2229, @jeremyevans)- Avoid unnecessary calls to the
ip_filterlambda to evaluateRequest#ip(#2287, [@willbryant])- Only calculate
Request#iponce per request (#2292, [@willbryant])Rack::Builder#use,#map, and#runmethods now returnnil. (#2355, @ioquatix)- Directly close the body in
Rack::ConditionalGetwhen the response is304 Not Modified. (#2353, @ioquatix)- Directly close the body in
Rack::Headwhen the request method isHEAD(#2360, @skipkayhil)Deprecated
Rack::Auth::AbstractRequest#requestis deprecated without replacement. (#2229, @jeremyevans)Rack::Request#parse_multipart(private method designed to be overridden in subclasses) is deprecated without replacement. (#2229, @jeremyevans)Removed
Rack::Request#values_atis removed. (#2200, @ioquatix)Rack::Loggeris removed with no replacement. (#2196, @ioquatix)- Automatic cache invalidation in
Rack::Request#{GET,POST}has been removed. (#2230, @jeremyevans)- Support for
CGI::Cookiehas been removed. (#2332, @ioquatix)Fixed
Rack::RewindableInput::Middlewareno longer wraps a nil input. (#2259, @tt)- Fix
NoMethodErrorinRack::Request#wrap_ipv6whenx-forwarded-hostis empty. (#2270, @oieioi)- Fix the specification for
SERVER_PORTwhich was incorrectly documented as required to be anIntegerif present - it must be aStringcontaining digits only. (#2296, @ioquatix)SERVER_NAMEandHTTP_HOSTare now more strictly validated according to the relevant specifications. (#2298, @ioquatix)Rack::Lintnow disallowsPATH_INFO="" SCRIPT_NAME="". (#2298, @jeremyevans)
3.1.17 (from changelog)
Security
- CVE-2025-61772 Multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion)
- CVE-2025-61771 Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)
- CVE-2025-61770 Unbounded multipart preamble buffering enables DoS (memory exhaustion)
3.1.15 (from changelog)
- Optional support for
CGI::Cookieif not available. (#2327, #2333, @earlopain)
3.1.14 (from changelog)
Security
- CVE-2025-46727 Unbounded parameter parsing in
Rack::QueryParsercan lead to memory exhaustion.
3.1.13 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ base64 (indirect, 0.2.0 → 0.3.0) · Repo
Release Notes
0.3.0
What's Changed
- Provide a 'Changelog' link on rubygems.org/gems/base64 by @mark-young-atg in #18
- Exclude older than 2.6 on macos-14 by @nobu in #21
- Add RBS signature and testing by @ksss in #25
- Enabled trusted publisher for rubygems.org by @hsbt in #29
- [DOC] Tweaks for module Base64 by @BurdetteLamar in #23
New Contributors
- @mark-young-atg made their first contribution in #18
- @nobu made their first contribution in #21
- @ksss made their first contribution in #25
Full Changelog: v0.2.0...v0.3.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 10 commits:
v0.3.0[DOC] Tweaks for module Base64Enabled trusted publisher for rubygems.orgAdd RBS signature and testing (#25)Update file list on gemspecUpdate license files same as ruby/rubyMerge pull request #21 from ruby/old-version-on-macosExclude older than 2.6 on macos-14Merge pull request #18 from mark-young-atg/provide_changelog_link_on_rubygemsProvide a 'Changelog' link on rubygems.org/gems/base64
↗️ logger (indirect, 1.6.6 → 1.7.0) · Repo
Sorry, we couldn't find anything useful about this release.
↗️ mustermann (indirect, 3.0.3 → 3.0.4) · Repo
Commits
See the full diff on Github. The new version differs by 6 commits:
↗️ rack-protection (indirect, 4.1.1 → 4.2.1) · Repo · Changelog
Release Notes
4.2.1 (from changelog)
- Fix: Revert "
PATH_INFOcan never be empty" (#2124)
- addresses issues with routing and 404, more in the original pull request
4.2.0 (from changelog)
- New: Add
:static_headerssetting for custom headers in static file responses (#2089)- Fix: Fix regex in
etag_matches?to prevent ReDoS (#2121)- Fix:
PATH_INFOcan never be empty (#2114)- Fix: Fix malformed Content-Type headers (#2081)
- Fix: Avoid crash for integer values in
content_typeparameters (#2078)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
4.2.1 release (#2125)Revert "`PATH_INFO` can never be empty." (#2124)4.2.0 release (#2122)Fix regex in `etag_matches?` to prevent ReDoS (#2121)`PATH_INFO` can never be empty. (#2114)Skip broken tests. (#2115)Sync changelog for v4.0.1Add :static_headers setting for custom headers in static file responses (#2089)Set `rubygems_mfa_required` for the `sinatra` gem (#2087)README: Remove duplicate mention of installing puma (#2091)CI: don't use `Rack::Lint` on invalid hostname (#2086)CI: Test with Ruby 3.4 (#2083)Fix malformed Content-Type headers (#2081)Avoid crash for integer values in `content_type` parameters (#2078)
↗️ rack-session (indirect, 2.1.0 → 2.1.1) · Repo · Changelog
Security Advisories 🚨
🚨 Rack session gets restored after deletion
Summary
When using the
Rack::Session::Poolmiddleware, simultaneous rack requests can restore a deleted rack session, which allows the unauthenticated user to occupy that session.Details
Rack session middleware prepares the session at the beginning of request, then saves is back to the store with possible changes applied by host rack application. This way the session becomes to be a subject of race conditions in general sense over concurrent rack requests.
Impact
When using the
Rack::Session::Poolmiddleware, and provided the attacker can acquire a session cookie (already a major issue), the session may be restored if the attacker can trigger a long running request (within that same session) adjacent to the user logging out, in order to retain illicit access even after a user has attempted to logout.Mitigation
- Update to the latest version of
rack-session, or- Ensure your application invalidates sessions atomically by marking them as logged out e.g., using a
logged_outflag, instead of deleting them, and check this flag on every request to prevent reuse, or- Implement a custom session store that tracks session invalidation timestamps and refuses to accept session data if the session was invalidated after the request began.
Related
This code was previously part of
rackin Rack < 3, see GHSA-vpfw-47h7-xj4g for the equivalent advisory inrack(affecting Rack < 3 only).
Release Notes
2.1.1
Full Changelog: v2.1.0...v2.1.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 2 commits:
↗️ tilt (indirect, 2.6.0 → 2.6.1) · Repo · Changelog
Release Notes
2.6.1 (from changelog)
- Fix race condition during parallel coverage testing using Template compiled_path option/method (jeremyevans)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 8 commits:
Bump version to 2.6.1Fix commonmarker tests with recent commonmarker versionsFix race condition during parallel coverage testing using Template compiled_path option/methodAdd JRuby 10.0 to CILimit Redcarpet version in CI on Ruby 2.0Add base64 and logger to CI gemfileDrop JRuby 9.1 CITry readding JRuby 9.1/9.2 CI
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
- @​depfu rebase
- Rebases against your default branch and redoes this update
- @​depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @​depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @​depfu cancel merge
- Cancels automatic merging of this PR
- @​depfu close
- Closes this PR and deletes the branch
- @​depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @​depfu pause
- Ignores all future updates for this dependency and closes this PR
- @​depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @​depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)