Skip to content

Commit 7437377

Browse files
committed
Update version to 2.7.4
1 parent 3b6820e commit 7437377

File tree

11 files changed

+17
-10
lines changed

11 files changed

+17
-10
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.3
1+
2.7.4

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ Changes:
5454
* `foreign_object.keys` no longer returns members, use `foreign_object.instance_variables` or `foreign_object.methods` instead.
5555
* `foreign_object.respond_to?(:class)` is now always true (before it was only for Java classes), since the method is always defined.
5656

57+
Security:
58+
59+
* Updated to Ruby 2.7.4 to fix CVE-2021-31810, CVE-2021-32066 and CVE-2021-31799.
60+
5761
# 21.2.0
5862

5963
New features:

doc/legal/legal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ See `epl-2.0.txt`, `gpl-2.txt`, `lgpl-2.1.txt`.
1919
## MRI
2020

2121
The standard implementation of Ruby is MRI. TruffleRuby contains code from MRI
22-
version 2.7.3, including:
22+
version 2.7.4, including:
2323

2424
* the standard library in `lib/mri`,
2525
* Ruby C extension API in `lib/cext/include` and `src/main/c/cext`,

doc/user/compatibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permalink: /reference-manual/ruby/Compatibility/
77
# Compatibility
88

99
TruffleRuby aims to be fully compatible with the standard implementation of
10-
Ruby, MRI, version 2.7.3, [including C extensions](#c-extension-compatibility).
10+
Ruby, MRI, version 2.7.4, [including C extensions](#c-extension-compatibility).
1111
TruffleRuby is still in development, so it is not 100% compatible yet.
1212

1313
Any incompatibility with MRI is considered a bug, except for rare cases detailed below.

doc/user/known-cves.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ Cross-reference with the details on [the MRI website](https://www.ruby-lang.org/
3333

3434
Number | Description | Their Mitigation | Test | Our Mitigation
3535
--- | --- | --- | --- | ---
36+
CVE-2021-31810 | Trusting FTP PASV responses vulnerability in Net::FTP | [Fix](https://github.com/ruby/ruby/commit/3ca1399150ed4eacfd2fe1ee251b966f8d1ee469) | [Test](https://github.com/ruby/ruby/commit/3ca1399150ed4eacfd2fe1ee251b966f8d1ee469) | Same
37+
CVE-2021-32066 | A StartTLS stripping vulnerability in Net::IMAP | [Fix](https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a) | [Test](https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a) | Same
38+
CVE-2021-31799 | A command injection vulnerability in RDoc | [Fix](https://github.com/ruby/rdoc/commit/a7f5d6ab88632b3b482fe10611382ff73d14eed7) [Backport](https://github.com/ruby/ruby/commit/483f303d02e768b69e476e0b9be4ab2f26389522) | [Test](https://github.com/ruby/rdoc/commit/a7f5d6ab88632b3b482fe10611382ff73d14eed7) | Same
3639
CVE-2021-28966 | Path traversal in Tempfile on Windows | Sanitization of paths in tmpdir.rb | In `test/mri/tests/test_tmpdir.rb` | Sanitization of paths in tmpdir.rb
3740
CVE-2021-28965 | XML round-trip vulnerability in REXML | Update to REXML 3.2.5 | In ruby/rexml | Update to REXML 3.2.5
3841
CVE-2020-10663 | Unsafe Object Creation Vulnerability in JSON (Additional fix) | [Fix](https://bugs.ruby-lang.org/issues/16698) | [Spec](https://github.com/ruby/spec/pull/764) | The pure Ruby version of JSON we use is safe

lib/cext/ABI_check.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7
1+
1

lib/cext/ABI_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11
1+
1

src/shared/java/org/truffleruby/shared/TruffleRuby.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class TruffleRuby {
1717
public static final String LANGUAGE_ID = "ruby";
1818
public static final String EXTENSION = ".rb";
1919
public static final String ENGINE_ID = "truffleruby";
20-
public static final String LANGUAGE_VERSION = "2.7.3";
20+
public static final String LANGUAGE_VERSION = "2.7.4";
2121
public static final String LANGUAGE_REVISION = BuildInformationImpl.INSTANCE.getFullRevision();
2222
public static final String BOOT_SOURCE_NAME = "main_boot_source";
2323
public static final String RUBY_COPYRIGHT = "truffleruby - Copyright (c) 2013-" +

test/truffle/gems/default-bundled-gems/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ gem "prime", "0.1.1"
3333
gem "pstore", "0.1.0"
3434
gem "psych", "3.1.0"
3535
gem "racc", "1.4.16"
36-
gem "rdoc", "6.2.1"
36+
gem "rdoc", "6.2.1.1"
3737
gem "readline", "0.0.2"
3838
gem "readline-ext", "0.1.0"
3939
gem "reline", "0.2.3"

test/truffle/gems/default-bundled-gems/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ GEM
3939
psych (3.1.0)
4040
racc (1.4.16)
4141
rake (13.0.1)
42-
rdoc (6.2.1)
42+
rdoc (6.2.1.1)
4343
readline (0.0.2)
4444
reline
4545
readline-ext (0.1.0)
@@ -102,7 +102,7 @@ DEPENDENCIES
102102
psych (= 3.1.0)
103103
racc (= 1.4.16)
104104
rake (= 13.0.1)
105-
rdoc (= 6.2.1)
105+
rdoc (= 6.2.1.1)
106106
readline (= 0.0.2)
107107
readline-ext (= 0.1.0)
108108
reline (= 0.2.3)

0 commit comments

Comments
 (0)