Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-activemodel80
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
www/ruby-rails80: update to 8.0.5.2 Update Ruby on Rails 8.0.x to 8.0.5.2. 8.0.5.2 (2026-11-04) Including these security fixes. * GHSA-f3w6-w445-fwh9 Possible arbitrary file write and read in Active Storage image analysis (Critical) * GHSA-v924-7rp8-4mxh Possible arbitrary file read and remote code execution in Active Storage video previews, analysis and image processing (High) * GHSA-wm3x-v3qw-4jh3 Possible Strong Parameters bypass in Parameters#each_key in Action Pack (High) * GHSA-8474-xrp6-wh69 Possible DoS vulnerability in Active Support safe_constantize (High) * GHSA-2p2f-4rq4-gjwc Possible XSS vulnerability in Action View text helpers (Medium) * GHSA-v6rj-xm57-3p59 Possible XSS vulnerability in Action View highlight helper (Medium) * GHSA-rq8q-p985-fjq7 Possible XSS vulnerability in Action View strip_tags (Medium) * GHSA-68p9-83h6-5wpj Possible XSS vulnerability in Action View tag helpers (Medium) * GHSA-rwvh-fw6r-pwvp Possible DoS vulnerability in Action Controller Live streaming (Medium) * GHSA-4v2w-w6g6-f8f8 Possible DoS vulnerability in Active Storage proxy mode via storage errors during streaming (Medium) * GHSA-p2pm-g2h6-7j5j Possible DoS vulnerability in Active Storage filename handling (Medium) * GHSA-3w93-6hmw-whh4 Unsigned Content-Type in Active Storage GCS direct uploads with cache_control (Medium) * GHSA-hfr4-8rjc-97m2 Possible circumvention of file size limits in Active Storage direct uploads to Google Cloud Storage (Medium) * GHSA-2586-8ghr-69fj Possible restoration of destroyed sessions in Action Dispatch CacheStore (Medium) * GHSA-x6mj-8jx9-qhqv Possible sensitive session information leak in Active Storage proxy mode (Medium) * GHSA-r9jg-fmfx-2gv6 Possible cache poisoning in Action Pack content negotiation (Medium) * GHSA-3f4q-8x5m-76v8 Possible local file disclosure in Active Storage video previews and analysis (Low) * GHSA-5957-c7qm-m469 Possible signature replay in Action Mailbox Mailgun ingress (Low) * GHSA-gmj8-hvj3-49mw Missing SameSite attribute on session cookies from Action Pack session stores (Low)
Pullup ticket #7215 - requested by taca
www/ruby-rails80: Security fix
Revisions pulled up:
- databases/ruby-activerecord80/distinfo 1.7
- devel/ruby-activejob80/distinfo 1.7
- devel/ruby-activemodel80/distinfo 1.7
- devel/ruby-activestorage80/PLIST 1.2
- devel/ruby-activestorage80/distinfo 1.7
- devel/ruby-activesupport80/distinfo 1.7
- devel/ruby-railties80/distinfo 1.7
- lang/ruby/rails.mk 1.192
- mail/ruby-actionmailbox80/distinfo 1.7
- mail/ruby-actionmailer80/distinfo 1.7
- textproc/ruby-actiontext80/distinfo 1.7
- www/ruby-actioncable80/distinfo 1.7
- www/ruby-actionpack80/distinfo 1.7
- www/ruby-actionview80/distinfo 1.7
- www/ruby-rails80/distinfo 1.7
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Jul 30 15:23:11 UTC 2026
Modified Files:
pkgsrc/databases/ruby-activerecord80: distinfo
pkgsrc/devel/ruby-activejob80: distinfo
pkgsrc/devel/ruby-activemodel80: distinfo
pkgsrc/devel/ruby-activestorage80: PLIST distinfo
pkgsrc/devel/ruby-activesupport80: distinfo
pkgsrc/devel/ruby-railties80: distinfo
pkgsrc/lang/ruby: rails.mk
pkgsrc/mail/ruby-actionmailbox80: distinfo
pkgsrc/mail/ruby-actionmailer80: distinfo
pkgsrc/textproc/ruby-actiontext80: distinfo
pkgsrc/www/ruby-actioncable80: distinfo
pkgsrc/www/ruby-actionpack80: distinfo
pkgsrc/www/ruby-actionview80: distinfo
pkgsrc/www/ruby-rails80: distinfo
Log Message:
www/ruby-rails80: update to 8.0.5.1
Ruby on Rails 8.0.5.1 (2026-07-29)
Active Storage
* A possible arbitrary file read and remote code execution in Active Storage
variant processing (CVE-2026-66066)
www/ruby-rails80: update to 8.0.5.1 Ruby on Rails 8.0.5.1 (2026-07-29) Active Storage * A possible arbitrary file read and remote code execution in Active Storage variant processing (CVE-2026-66066)
Pullup ticket #7062 - requested by taca
databases/ruby-activerecord80: Security fix
devel/ruby-activejob80: Security fix
devel/ruby-activemodel80: Security fix
devel/ruby-activestorage80: Security fix
devel/ruby-activesupport80: Security fix
devel/ruby-railties80: Security fix
mail/ruby-actionmailbox80: Security fix
mail/ruby-actionmailer80: Security fix
textproc/ruby-actiontext80: Security fix
www/ruby-actioncable80: Security fix
www/ruby-actionpack80: Security fix
www/ruby-actionview80: Security fix
www/ruby-rails80: Security fix
Revisions pulled up:
- databases/ruby-activerecord80/distinfo 1.6
- devel/ruby-activejob80/distinfo 1.6
- devel/ruby-activemodel80/distinfo 1.6
- devel/ruby-activestorage80/distinfo 1.6
- devel/ruby-activesupport80/distinfo 1.6
- devel/ruby-railties80/Makefile 1.5
- devel/ruby-railties80/distinfo 1.6
- lang/ruby/rails.mk 1.189
- mail/ruby-actionmailbox80/distinfo 1.6
- mail/ruby-actionmailer80/distinfo 1.6
- textproc/ruby-actiontext80/distinfo 1.6
- www/ruby-actioncable80/distinfo 1.6
- www/ruby-actionpack80/Makefile 1.6
- www/ruby-actionpack80/distinfo 1.6
- www/ruby-actionview80/distinfo 1.6
- www/ruby-rails80/distinfo 1.6
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Mar 29 14:23:51 UTC 2026
Modified Files:
pkgsrc/databases/ruby-activerecord80: distinfo
pkgsrc/devel/ruby-activejob80: distinfo
pkgsrc/devel/ruby-activemodel80: distinfo
pkgsrc/devel/ruby-activestorage80: distinfo
pkgsrc/devel/ruby-activesupport80: distinfo
pkgsrc/devel/ruby-railties80: Makefile distinfo
pkgsrc/mail/ruby-actionmailbox80: distinfo
pkgsrc/mail/ruby-actionmailer80: distinfo
pkgsrc/textproc/ruby-actiontext80: distinfo
pkgsrc/www/ruby-actioncable80: distinfo
pkgsrc/www/ruby-actionpack80: Makefile distinfo
pkgsrc/www/ruby-actionview80: distinfo
pkgsrc/www/ruby-rails80: distinfo
Log Message:
www/ruby-rails80: update to 8.0.5
Ruby on Rails 8.0.4.1 (2026-03-23)
Active Support
* Reject scientific notation in NumberConverter [CVE-2026-33176]
Jean Boussier
* Fix SafeBuffer#% to preserve unsafe status [CVE-2026-33170]
Jean Boussier
* Improve performance of NumberToDelimitedConverter [CVE-2026-33169]
Jean Boussier
Action View
* Skip blank attribute names in tag helpers to avoid generating invalid
HTML. [CVE-2026-33168]
Mike Dalessio
Active Storage
* Filter user supplied metadata in DirectUploadController [CVE-2026-33173]
Jean Boussier
* Configurable maxmimum streaming chunk size
Makes sure that byte ranges for blobs don't exceed 100mb by default.
Content ranges that are too big can result in denial of service.
[CVE-2026-33174] Gannon McGibbon
* Limit range requests to a single range [CVE-2026-33658]
Jean Boussier
* Prevent path traversal in DiskService.
DiskService#path_for now raises an InvalidKeyError when passed keys with
dot segments (".", ".."), or if the resolved path is outside the storage
root directory.
#path_for also now consistently raises InvalidKeyError if the key is
invalid in any way, for example containing null bytes or having an
incompatible encoding. Previously, the exception raised may have been
ArgumentError or Encoding::CompatibilityError.
DiskController now explicitly rescues InvalidKeyError with appropriate
HTTP status codes.
[CVE-2026-33195] Mike Dalessio
* Prevent glob injection in DiskService#delete_prefixed.
Escape glob metacharacters in the resolved path before passing to Dir.glob.
Note that this change breaks any existing code that is relying on
delete_prefixed to expand glob metacharacters. This change presumes that
is unintended behavior (as other storage services do not respect these
metacharacters).
[CVE-2026-33202]
Mike Dalessio
Active Model
Active Record
Action Pack
Active Job
Action Mailer
Action Cable
Action Mailbox
Action Text
Railties
* No change except version.
8.0.5 (2026-03-24)
Changes are too many to write here, please refer:
<https://github.com/rails/rails/releases/tag/v8.0.5>.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Mar 29 14:28:13 UTC 2026
Modified Files:
pkgsrc/lang/ruby: rails.mk
Log Message:
lang/ruby: update rails80 to 8.0.5
Make sure to update rails80 to 8.0.5.
www/ruby-rails80: update to 8.0.5
Ruby on Rails 8.0.4.1 (2026-03-23)
Active Support
* Reject scientific notation in NumberConverter [CVE-2026-33176]
Jean Boussier
* Fix SafeBuffer#% to preserve unsafe status [CVE-2026-33170]
Jean Boussier
* Improve performance of NumberToDelimitedConverter [CVE-2026-33169]
Jean Boussier
Action View
* Skip blank attribute names in tag helpers to avoid generating invalid
HTML. [CVE-2026-33168]
Mike Dalessio
Active Storage
* Filter user supplied metadata in DirectUploadController [CVE-2026-33173]
Jean Boussier
* Configurable maxmimum streaming chunk size
Makes sure that byte ranges for blobs don't exceed 100mb by default.
Content ranges that are too big can result in denial of service.
[CVE-2026-33174] Gannon McGibbon
* Limit range requests to a single range [CVE-2026-33658]
Jean Boussier
* Prevent path traversal in DiskService.
DiskService#path_for now raises an InvalidKeyError when passed keys with
dot segments (".", ".."), or if the resolved path is outside the storage
root directory.
#path_for also now consistently raises InvalidKeyError if the key is
invalid in any way, for example containing null bytes or having an
incompatible encoding. Previously, the exception raised may have been
ArgumentError or Encoding::CompatibilityError.
DiskController now explicitly rescues InvalidKeyError with appropriate
HTTP status codes.
[CVE-2026-33195] Mike Dalessio
* Prevent glob injection in DiskService#delete_prefixed.
Escape glob metacharacters in the resolved path before passing to Dir.glob.
Note that this change breaks any existing code that is relying on
delete_prefixed to expand glob metacharacters. This change presumes that
is unintended behavior (as other storage services do not respect these
metacharacters).
[CVE-2026-33202]
Mike Dalessio
Active Model
Active Record
Action Pack
Active Job
Action Mailer
Action Cable
Action Mailbox
Action Text
Railties
* No change except version.
8.0.5 (2026-03-24)
Changes are too many to write here, please refer:
<https://github.com/rails/rails/releases/tag/v8.0.5>.
www/ruby-rails80: update to 8.0.4
8.0.4 (2025-10-28)
Active Support
* Fix Enumerable#sole to return the full tuple instead of just the first
element of the tuple. [Olivier Bellone]
* Fix parallel tests hanging when worker processes die abruptly.
Previously, if a worker process was killed (e.g., OOM killed, kill -9)
during parallel test execution, the test suite would hang forever waiting
for the dead worker. [Joshua Young]
* Fix NameError when class_attribute is defined on instance singleton classes.
Previously, calling class_attribute on an instance's singleton class would
raise a NameError when accessing the attribute through the instance.
object = MyClass.new
object.singleton_class.class_attribute :foo, default: "bar"
object.foo # previously raised NameError, now returns "bar"
[Joshua Young]
Active Record
* Fix SQLite3 data loss during table alterations with CASCADE foreign keys.
When altering a table in SQLite3 that is referenced by child tables with
ON DELETE CASCADE foreign keys, ActiveRecord would silently delete all
data from the child tables. This occurred because SQLite requires table
recreation for schema changes, and during this process the original table
is temporarily dropped, triggering CASCADE deletes on child tables.
The root cause was incorrect ordering of operations. The original code
wrapped disable_referential_integrity inside a transaction, but PRAGMA
foreign_keys cannot be modified inside a transaction in SQLite -
attempting to do so simply has no effect. This meant foreign keys
remained enabled during table recreation, causing CASCADE deletes to fire.
The fix reverses the order to follow the official SQLite 12-step ALTER
TABLE procedure: disable_referential_integrity now wraps the transaction
instead of being wrapped by it. This ensures foreign keys are properly
disabled before the transaction starts and re-enabled after it commits,
preventing CASCADE deletes while maintaining data integrity through atomic
transactions. [Ruy Rocha]
* Add support for bound SQL literals in CTEs. [Nicolas Bachschmidt]
* Fix belongs_to associations not to clear the entire composite primary key.
When clearing a belongs_to association that references a model with
composite primary key, only the optional part of the key should be
cleared. [zzak]
* Fix invalid records being autosaved when distantly associated records are
marked for deletion. [Ian Terrell, axlekb AB]
Action View
* Restore add_default_name_and_id method. [Hartley McGuire]
Action Pack
* Submit test requests using as: :html with Content-Type:
x-www-form-urlencoded [Sean Doyle]
Active Model
Active Job
Action Mailer
Action Cable
Active Storage
Action Mailbox
Action Text
Railties
* No changes.
devel/ruby-activemodel80: update to 8.0.3 8.0.3 (2025-09-22) Active Model * Fix has_secure_password to perform confirmation validation of the password even when blank. The validation was incorrectly skipped when the password only contained whitespace characters. Fabio Sangiovanni
www/ruby-rails80: update to 8.0.2.1 Ruby on Rails 8.0.2.1 (2025-08-13) Active Record * Call inspect on ids in RecordNotFound error [CVE-2025-55193] Gannon McGibbon, John Hawthorn Active Storage * Remove dangerous transformations [CVE-2025-24293] Zack Deveau
devel/ruby-activemodel80: update to 8.0.2 8.0.2 (2025/03/12) No change except version.
devel/ruby-activemodel80: add package version 8.0.1 Active Model -- model interfaces for Rails Active Model provides a known set of interfaces for usage in model classes. They allow for Action Pack helpers to interact with non-Active Record models, for example. Active Model also helps with building custom ORMs for use outside of the Rails framework. This is for Ruby on Rails 8.0.