Path to this page:
./
lang/ruby33,
Ruby 3.3.14 release package
Branch: CURRENT,
Version: 3.3.14,
Package name: ruby33-3.3.14,
Maintainer: tacaRuby is an interpreted object-oriented programming language often used for
web development. It also offers many scripting features to process plain
text and serialized files, or manage system tasks. It is simple,
straightforward, and extensible.
Features of Ruby are shown below.
+ Simple Syntax
+ *Normal* Object-Oriented features (ex. class, method calls)
+ *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method)
+ Operator Overloading
+ Exception Handling
+ Iterators and Closures
+ Garbage Collection
+ Dynamic Loading of Object files (on some architecture)
+ Highly Portable (works on many UNIX machines, and on Windows, Mac, etc.)
Ruby 3.3 introduces a number of new features and performance improvements,
here are some of them:
* Prsim parser (as a default gem).
* Performance: YJIT: Verious improvements including performance.
* Performance: RJIT: Experital pure-Ruby JIT compiler replace MJIT.
* M:N thread scheduler.
* Retirement of ext/readline.
DEINSTALL [+/-]# $NetBSD: DEINSTALL,v 1.1 2024/01/21 08:22:02 taca Exp $
RUBY_GEM_BASE="${PREFIX}/@RUBY_GEM_BASE@"
RUBY_SITERIDIR="${PREFIX}/@RUBY_SITERIDIR@"
case ${STAGE} in
DEINSTALL)
${RM} -f ${RUBY_SITERIDIR}/created.rid
;;
POST-DEINSTALL)
${RM} -rf ${GEM_HOME}
${RMDIR} ${RUBY_GEM_BASE} 2>/dev/null || true
;;
esac
Package options: ruby-build-ri-db, ruby-yjit
Master sites: (Expand)
Filesize: 15649.949 KB
Version history: (Expand)
- (2026-11-20) Updated to version: ruby33-3.3.14
- (2026-10-25) Updated to version: ruby33-3.3.13
- (2026-09-19) Updated to version: ruby33-3.3.12nb2
- (2026-09-16) Updated to version: ruby33-3.3.12nb1
- (2026-07-18) Updated to version: ruby33-3.3.12
- (2026-05-19) Updated to version: ruby33-3.3.11nb2
CVS history: (Expand)
2026-11-20 15:34:33 by Takahiro Kambe | Files touched by this commit (3) |  |
Log message:
lang/ruby33: update to 3.3.14
3.3.14 (2026-11-18)
This release fixes seven vulnerabilities have been discovered in Ruby's
regular expression engine and in the case conversion of strings.
* GHSA-34m4-m9fh-gqp5: Heap buffer overflow in case conversion of strings:
Ruby has a one-byte heap-based buffer overflow in the case conversion of
strings. Changing the case of a crafted string may allow remote code
execution. We are aware of PoCs that prove this flaw can be used to
trigger RCE in some scenarios.
* GHSA-7x2q-68qv-6p8x: Double free in regular expression compilation:
Ruby has a double free in its regular expression engine. Compiling a
crafted regular expression pattern may allow remote code execution in
applications that compile attacker-controlled patterns. We are aware of
PoCs that prove this flaw can be used to trigger RCE in some scenarios.
* GHSA-87fm-7w84-j2px: Integer overflow in case conversion of strings:
Ruby has an integer overflow in the case conversion of strings, which
causes a heap-based buffer overflow. Changing the case of a crafted
string may allow remote code execution. We are aware of PoCs that prove
this flaw can be used to trigger RCE in some scenarios.
* GHSA-wpqw-5qxg-m68r: Out-of-bounds read in case-insensitive regular
expression matching:
Ruby has an out-of-bounds read in its regular expression engine. Matching
against a crafted regular expression pattern may allow remote code
execution in applications that use attacker-controlled patterns. We are
aware of PoCs that prove this flaw can lead to memory corruption in an
attacker-controlled way.
* GHSA-3p8q-wmhx-vm2w: Heap buffer overflow in regular expression
compilation:
Ruby has an integer overflow in its regular expression engine, which
causes a heap-based buffer overflow. Compiling a crafted regular
expression pattern may allow remote code execution in applications that
compile attacker-controlled patterns. We are aware of PoCs that prove
this flaw can be used to trigger RCE in some scenarios.
* GHSA-7whj-cfh7-xgm4: Heap buffer overflow in Regexp#to_s:
Ruby has a heap-based buffer overflow in Regexp#to_s. Converting a crafted
regular expression to a string may allow information disclosure or remote
code execution in applications that compile attacker-controlled patterns.
We are aware of PoCs that prove this flaw can be used to trigger RCE in
some scenarios.
* GHSA-pvgc-g7gj-pv6h: Out-of-bounds read in case-insensitive backreference
matching:
Ruby has an out-of-bounds read in its regular expression engine. Matching
a crafted string may disclose memory contents or crash the process.
What's Changed
* Bug #20403: TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback
can flake if TCP port is in use
* JIT: Reject --{y,z}jit-exec-mem-size values that overflow the u32
reservation size by st0012 · Pull Request #19720
* Fix memoization for the /(...){0}/ case by makenowjust · Pull Request
#13169
* Bug #21671: Rails CI raises Assertion Failed:
rbimpl_rstring_getmem:RB_TYPE_P(str, RUBY_T_STRING): actual type: 26 with
"-DENABLE_PATH_CHECK=0 -DRUBY_DEBUG=1" enabled
* Bug #22461: Use-after-free in String formatting with wide character
encodings
* Bug #22517: Some String methods return a UTF-16/32 string without room for
its terminator
* Bug #21304: heap-use-after-free of Array#hash via mutating hash method
* Bug #22333: Assertion Failed: ary_resize_capa:RARRAY_LEN(ary) <= capacity
* Bug #22410: IO#external_encoding / IO#internal_encoding segfault on an
uninitialized IO
* Bug #22409: ASan UAF and Assertion Failed: gc_validate_pc:CFP_PC(cfp) >=
iseq_encoded: PC not set when allocating, breaking tracing
* Check the result of compile_length_tree() at every call site by mame ·
Pull Request #19505
* Skip whitespace in rb_memory_view_parse_item_format fill pass by
fuzzyrichie · Pull Request #19807
* Bug #22537: IO#gets(nil, limit) stops right after a 0xFF byte
* Bug #22458: Time#strftime out-of-bound access
* Bug #22433: IO#sysread and IO#pread are inconsistent for length 0 and
negative numbers
|
2026-10-25 15:35:56 by Takahiro Kambe | Files touched by this commit (4) |  |
Log message:
lang/ruby33: update to 3.3.13
This update contains these security fixes.
* CVE-2026-89078: Double Free issue in Regular Expression Parser (GitLab
19.4.1)
* CVE-2026-93577: Integer Overflow issue in Regular Expression Compiler
(GitLab 19.4.1)
* CVE-2026-97229: Integer Overflow issue in CI/CD Regular Expression
Compiler (GitLab 19.4.2)
* CVE-2026-110264: Integer Overflow issue in Regular Expression Compiler
(GitLab 19.5.1)
3.3.13 (2026-10-23)
* Bug #21703: RUBY_CRASH_REPORT does not work when shelling out in some
cases
* Bug #22311: Build crashes on macOS 26 with the macOS 27 SDK because
pipe2() and dup3() are unavailable
* Prevent double free for too big repetition quantifiers by makenowjust ·
Pull Request #13332
* Reject overflowed repeat/null-check IDs in huge regexps by makenowjust ·
Pull Request #16801
* Bug #22384: Regexp compile error in the 2nd+ branch of a top-level
alternation leaks the parse tree (regression from #13332, Ruby 4.0)
|
| 2026-10-03 13:12:34 by Rin Okuyama | Files touched by this commit (3) |
Log message:
ruby*: Works around GCC 14 bug on alpha
s/-O2/-O1/ for GCC >= 14 on alpha. Otherwise, for ruby34, e.g.,
```
gcc -mieee -O2 -mieee -pthread -I/usr/include -I/usr/pkg/include -fPIC -pipe \
-fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard \
-DRUBY_EXPORT -I. -I.ext/include/alpha-netbsd -I.ext/include -I./include -I. \
-I./prism -I./enc/unicode/15.0.0 -Dmodular_gc_dir="" -I/usr/include \
-I/usr/pkg/include -o ractor.o -c ractor.c
during RTL pass: sched2
ractor.c: In function 'ractor_channel_func':
ractor.c:4010:1: internal compiler error: in move_insn, at haifa-sched.cc:5477
4010 | }
| ^
0x1215184ff diagnostic_impl(rich_location*, diagnostic_metadata const*, int, \
char const*, __va_list_tag*, diagnostic_t)
???:0
0x121518beb internal_error(char const*, ...)
???:0
0x121640d9b fancy_abort(char const*, int, char const*)
???:0
0x120569693 move_insn(rtx_insn*, rtx_insn*, rtx_def*)
???:0
0x12057ef93 schedule_block(basic_block_def**, void*)
???:0
0x1212bc327 schedule_insns() [clone .part.0]
???:0
0x1212bc907 (anonymous namespace)::pass_sched2::execute(function*)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
```
cf. PR toolchain/60843 GCC/alpha 14 miscompiles GCC backend
|
| 2026-09-19 15:19:40 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
lang/ruby33: fix build problem
patch to reesolv.gemspec contains extra code to use git.
Bump PKGREVISION.
|
2026-09-16 16:50:17 by Takahiro Kambe | Files touched by this commit (5) |  |
Log message:
lang/ruby33: update resolv gem
Update resolv gem to 0.3.2 to fix CVE-2026-80212 and CVE-2026-80213.
Bump PKGREVISION.
|
2026-07-18 16:09:03 by Takahiro Kambe | Files touched by this commit (7) |  |
Log message:
lang/ruby33: update to 3.3.12
pkgsrc change: stop installing obsolete ChangeLog.
Note: erb's security problem was already fixed with ruby33-3.3.11nb2.
3.3.12 (2026-07-16)
What's Changed
This release includes the following security fixes.
* CVE-2026-41316: ERB @_init deserialization guard bypass via def_module /
def_method / def_class
This release updates the default gem erb to 4.0.3.1 and the bundled gem
net-imap to 0.4.25. The net-imap update fixes CVE-2026-42245,
CVE-2026-42246, CVE-2026-42256, CVE-2026-42257, CVE-2026-42258,
CVE-2026-47240, CVE-2026-47241 and CVE-2026-47242. Please see the release
notes of net-imap v0.4.24 and net-imap v0.4.25 for the details of these
fixes.
|
| 2026-05-19 16:45:52 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
lang/ruby33: improve rdoc
* Fix rdoc problem on C locale, backported from rdoc-7.0.4.
* Remove pkglint warning.
Bump PKGREVISION.
|
2026-05-06 07:28:23 by Takahiro Kambe | Files touched by this commit (6) |  |
Log message:
lang/ruby33: update default gem erb to 4.0.3.1
Update default gem erb to 4.0.3.1 to fix security problem of CVE-2026-41316.
Bump PKGREVISION.
|