Subject: CVS commit: pkgsrc
From: Takahiro Kambe
Date: 2023-01-19 15:31:11
Message id: 20230119143111.BA1DAFA90@cvs.NetBSD.org

Log Message:
www/ruby-rails61: update to 6.1.7.1

Rails 6.1.7.1 (2023-01-17)

devel/ruby-activesupport61

* Avoid regex backtracking in Inflector.underscore

    [CVE-2023-22796]

www/ruby-actionpack61

* Avoid regex backtracking on If-None-Match header

  [CVE-2023-22795]

* Use string#split instead of regex for domain parts

  [CVE-2023-22792]

databases/ruby-activerecord61

* Make sanitize_as_sql_comment more strict

  Though this method was likely never meant to take user input, it was
  attempting sanitization. That sanitization could be bypassed with
  carefully crafted input.

  This commit makes the sanitization more robust by replacing any
  occurrances of "/*" or "*/" with "/ *" or \ 
"* /". It also performs a
  first pass to remove one surrounding comment to avoid compatibility
  issues for users relying on the existing removal.

  This also clarifies in the documentation of annotate that it should not
  be provided user input.

  [CVE-2023-22794]

* Added integer width check to PostgreSQL::Quoting

  Given a value outside the range for a 64bit signed integer type
  PostgreSQL will treat the column type as numeric. Comparing
  integer values against numeric values can result in a slow
  sequential scan.

  This behavior is configurable via
  ActiveRecord::Base.raise_int_wider_than_64bit which defaults to true.

  [CVE-2022-44566]

Files:
RevisionActionfile
1.16modifypkgsrc/databases/ruby-activerecord61/distinfo
1.16modifypkgsrc/devel/ruby-activejob61/distinfo
1.16modifypkgsrc/devel/ruby-activemodel61/distinfo
1.16modifypkgsrc/devel/ruby-activestorage61/distinfo
1.16modifypkgsrc/devel/ruby-activesupport61/distinfo
1.16modifypkgsrc/devel/ruby-railties61/distinfo
1.139modifypkgsrc/lang/ruby/rails.mk
1.16modifypkgsrc/mail/ruby-actionmailbox61/distinfo
1.16modifypkgsrc/mail/ruby-actionmailer61/distinfo
1.16modifypkgsrc/textproc/ruby-actiontext61/distinfo
1.16modifypkgsrc/www/ruby-actioncable61/distinfo
1.4modifypkgsrc/www/ruby-actionpack61/Makefile
1.16modifypkgsrc/www/ruby-actionpack61/distinfo
1.16modifypkgsrc/www/ruby-actionview61/distinfo
1.16modifypkgsrc/www/ruby-rails61/distinfo