Skip to content

SECURITY: Update vulnerable dependencies and add OSV scanning - #187

Merged
merefield merged 5 commits into
mainfrom
dependabot/bundler/rack-3.2.8
Nov 11, 2026
Merged

merefield merged 5 commits into
mainfrom
dependabot/bundler/rack-3.2.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Additional hardening

  • Bumps the plugin patch version to 7.3.17.
  • Updates Rack from 3.2.6 to 3.2.8 for its current security fixes.
  • Folds in Build(deps-dev): Bump activesupport from 8.1.3.1 to 8.1.4.1 #188, updating ActiveSupport from 8.1.3.1 to 8.1.4.1 and its refreshed development-tool dependencies.
  • Refreshes vulnerable JavaScript development dependencies to patched versions aligned with current Discourse core.
  • Adds a separate Google OSV scan for Gemfile.lock and pnpm-lock.yaml on pull requests, pushes to main, weekly schedules, and manual runs.
  • Retains the standard Discourse plugin CI workflow unchanged.
  • Records a one-month exception for the lint-only minimatch advisory while Discourse core still uses minimatch 10; the exception expires on 2026-12-11.

Validation

  • bundle check
  • pnpm install --frozen-lockfile --ignore-scripts
  • pnpm lint
  • git diff --check

Bumps rack from 3.2.6 to 3.2.8.

Changelog

Sourced from rack's changelog.

[3.2.8] - 2026-10-30

Security

  • GHSA-5v64-555j-wjxm Multipart parser retains parsed data in its scan buffer, allowing denial of service via memory exhaustion.
  • GHSA-wvg4-6p58-3gh3 Rack::Static header rules were matched against an unnormalized path, allowing dot segments to bypass them.
  • GHSA-2j8w-xcrc-x985 Rack::Request#host_with_port, #base_url, and #url returned the raw authority when it was invalid; host_with_port now returns nil in that case.
  • GHSA-p8x9-v4hv-2w4g Multipart requests with more than one boundary parameter were accepted when the first value was empty or began with a quote, semicolon, or comma, bypassing the guard added for CVE-2026-26961.

Fixed

  • Rack::Multipart::UploadedFile now delegates keyword arguments to the wrapped tempfile. Calls such as uploaded_file.readlines(chomp: true) raised TypeError on Ruby 3.0+. (#2481, #2501, @​SeanLF)

[3.2.7] - 2026-08-13

Fixed

  • Restore Ruby 2.4/2.5 compatibility.
Commits
  • 5f511d7 Bump patch version.
  • 3e01d71 Update changelog.
  • a295123 Reject multipart content types with a boundary parameter before the parsed one.
  • 49386f4 Don't leak invalid Host through host_with_port.
  • 18a07fe Normalize static header rule paths before matching.
  • 244e75a Remove parsed bytes from the multipart buffer while reading parts.
  • 3519905 Backport UploadedFile keyword forwarding fix (#2501)
  • 70d2e10 Bump patch version.
  • 9b31adf Fix specs on Ruby 2.4
  • 7c0abab Do not ignore Ruby 2.4/2.5 errors in CI
  • 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 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.

Bumps [rack](https://github.com/rack/rack) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](rack/rack@v3.2.6...v3.2.8)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.2.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Nov 10, 2026
merefield and others added 4 commits November 10, 2026 21:19
Bumps [activesupport](https://github.com/rails/rails) from 8.1.3.1 to 8.1.4.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.1.4.1/activesupport/CHANGELOG.md)
- [Commits](rails/rails@v8.1.3.1...v8.1.4.1)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-version: 8.1.4.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@merefield merefield changed the title Build(deps-dev): Bump rack from 3.2.6 to 3.2.8 SECURITY: Update vulnerable dependencies and add OSV scanning Nov 11, 2026
@merefield
merefield merged commit c6ed345 into main Nov 11, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/bundler/rack-3.2.8 branch November 11, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant