An open index of dependabot pull requests across open source projects.

Bump rack from 1.3.3 to 3.0.9.1 in /examples/sinatra

Closed
Number: #245
Type: Pull Request
State: Closed
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 1
Created: February 28, 2024 at 11:03 PM UTC
(over 2 years ago)
Updated: May 30, 2025 at 01:03 PM UTC
(about 1 year ago)
Closed: May 30, 2025 at 01:03 PM UTC
(about 1 year ago)
Time to Close: over 1 year
Labels:
dependencies ruby
Description:

Bumps rack from 1.3.3 to 3.0.9.1.

Release notes

Sourced from rack's releases.

v3.0.9.1

What's Changed

  • Fixed ReDoS in Accept header parsing [CVE-2024-26146]
  • Fixed ReDoS in Content Type header parsing [CVE-2024-25126]
  • Reject Range headers which are too large [CVE-2024-26141]

Full Changelog: https://github.com/rack/rack/compare/v3.0.9...v3.0.9.1

v3.0.9

What's Changed

  • Fix content-length calcuation in Rack:Response#write #2150

Full Changelog: https://github.com/rack/rack/compare/v3.0.8...v3.0.9

v3.0.8

What's Changed

New Contributors

Full Changelog: https://github.com/rack/rack/compare/v3.0.7...v3.0.8

v3.0.7

What's Changed

Full Changelog: https://github.com/rack/rack/compare/v3.0.6.1...v3.0.7

v3.0.6.1

No release notes provided.

v3.0.4.1

Full Changelog: https://github.com/rack/rack/compare/v3.0.4...v3.0.4.1

v3.0.4

Full Changelog: https://github.com/rack/rack/compare/v3.0.3...v3.0.4

v3.0.3

What's Changed

Full Changelog: https://github.com/rack/rack/compare/v3.0.2...v3.0.3

v3.0.2

Full Changelog: https://github.com/rack/rack/compare/v3.0.1...v3.0.2

... (truncated)

Changelog

Sourced from rack's changelog.

Changelog

All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference Keep A Changelog.

Unreleased

SPEC Changes

  • rack.input is now optional. (#1997, [@​ioquatix])
  • Rack::Utils.escape_html is now delegated to CGI.escapeHTML. ' is escaped to [#39](https://github.com/rack/rack/issues/39); instead of #x27;. (decimal vs hexadecimal) (#2099, @​JunichiIto)

Changed

  • rack.input is now optional, and if missing, will raise an error. Use this to fail on multipart parsing a request without an input body. (#2018, [@​ioquatix])
  • Introduce module Rack::BadRequest which is included in multipart and query parser errors. (#2019, [@​ioquatix])
  • MIME type for JavaScript files (.js) changed from application/javascript to text/javascript (1bd0f15)
  • Add .mjs MIME type (#2057, [@​axilleas])
  • Update MIME types associated to .ttf, .woff, .woff2 and .otf extensions to use mondern font/* types. (#2065, [@​davidstosik])
  • set_cookie_header utility now supports the partitioned cookie attribute. This is required by Chrome in some embedded contexts. (#2131, [@​flavio-b])
  • Remove non-standard status codes 306, 509, & 510 and update descriptions for 413, 422, & 451. (#2137, [@​wtn])
  • Add fallback lookup and deprecation warning for obsolete status symbols. (#2137, [@​wtn])
  • In Rack::Files, ignore the Range header if served file is 0 bytes. (#2159, [@​zarqman])

[3.0.9] - 2024-01-31

  • Fix incorrect content-length header that was emitted when Rack::Response#write was used in some situations. (#2150, [@​mattbrictson])

[3.0.8] - 2023-06-14

[3.0.7] - 2023-03-16

[3.0.6.1] - 2023-03-13

  • [CVE-2023-27539] Avoid ReDoS in header parsing

[3.0.6] - 2023-03-13

  • Add QueryParser#missing_value for handling missing values + tests. (#2052, [@​ioquatix])

[3.0.5] - 2023-03-13

[3.0.4.2] - 2023-03-02

  • [CVE-2023-27530] Introduce multipart_total_part_limit to limit total parts

... (truncated)

Commits
  • a4bc5e0 bump version
  • 6efb2ce Avoid 2nd degree polynomial regexp in MediaType
  • 4849132 Return an empty array when ranges are too large
  • a227cd7 Fixing ReDoS in header parsing
  • 0b3f997 Bump patch version.
  • d3d415e Update Ruby versions for external tests: drop v2.7 and add v3.2 and v3.3. (#2...
  • c8b977f Fix content-length calcuation in Rack:Response#write (#2150)
  • 8d1bf99 Update CHANGELOG for 3.0.8 (#2086)
  • d28c464 Bump patch verison.
  • 32736d2 Fix some unused variable verbose warnings (#2084)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.
Pull Request Statistics
Commits:
1
Files Changed:
1
Additions:
+2
Deletions:
-1
Package Dependencies
Package:
rack
Ecosystem:
rubygems
Version Change:
1.3.3 → 3.0.9.1
Update Type:
Major
Path:
/examples/sinatra
Security Advisories
phpMyFAQ vulnerable to stored Cross-site Scripting
GHSA-vppq-6ff8-2m8w CVE-2023-2753 MODERATE
Cross-site Scripting (XSS) - Stored in GitHub repository thorsten/phpmyfaq prior to 3.2.0-beta.
Rack Header Parsing leads to Possible Denial of Service Vulnerability
GHSA-54rr-7fvw-6x8f CVE-2024-26146 LOW
# Possible Denial of Service Vulnerability in Rack Header Parsing There is a possible denial of service vulnerability in the header parsing routines in Rack. This vulnerability has been assigned ...
Rack vulnerable to ReDoS in content type parsing (2nd degree polynomial)
GHSA-22f2-v57c-j9cx CVE-2024-25126 MODERATE
### Summary ```ruby module Rack class MediaType SPLIT_PATTERN = %r{\s*[;,]\s*} ``` The above regexp is subject to ReDos. 50K blank characters as a prefix to the header will take over 10s to ...
Rack has possible DoS Vulnerability with Range Header
GHSA-xj5v-6v4g-jfw6 CVE-2024-26141 LOW
# Possible DoS Vulnerability with Range Header in Rack There is a possible DoS vulnerability relating to the Range request header in Rack. This vulnerability has been assigned the CVE identifier ...
Possible Denial of Service Vulnerability in Rack's header parsing
GHSA-c6qg-cjj8-47qp CVE-2023-27539 LOW
There is a denial of service vulnerability in the header parsing component of Rack. This vulnerability has been assigned the CVE identifier CVE-2023-27539. Versions Affected: >= 2.0.0 Not affected...
Rack has possible DoS Vulnerability in Multipart MIME parsing
GHSA-3h57-hmj3-gj3p CVE-2023-27530 HIGH
There is a possible DoS vulnerability in the Multipart MIME parsing code in Rack. This vulnerability has been assigned the CVE identifier CVE-2023-27530. Versions Affected: All. Not affected: None...
Technical Details
ID: 748622
UUID: 1748670581
Node ID: PR_kwDNQRvOaDqYdQ
Host: GitHub
Repository: jruby/jruby-rack
Merge State: Unknown