summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby/ruby_3.1.3.bb
diff options
context:
space:
mode:
authorYogita Urade <yogita.urade@windriver.com>2024-06-21 12:25:27 +0000
committerSteve Sakoman <steve@sakoman.com>2024-06-26 05:04:39 -0700
commit52f1435174e2b2c35e9ffe02fe7fbb65c7ff7e60 (patch)
treee15d4ed3973cb2631fa7222c274dfdf141a46916 /meta/recipes-devtools/ruby/ruby_3.1.3.bb
parent064e000b18e10c14c4d2e602d498ec119e62f921 (diff)
downloadpoky-52f1435174e2b2c35e9ffe02fe7fbb65c7ff7e60.tar.gz
ruby: fix CVE-2024-27280
A buffer-overread issue was discovered in StringIO 3.0.1, as distributed in Ruby 3.0.x through 3.0.6 and 3.1.x through 3.1.4. The ungetbyte and ungetc methods on a StringIO can read past the end of a string, and a subsequent call to StringIO.gets may return the memory value. 3.0.3 is the main fixed version; however, for Ruby 3.0 users, a fixed version is stringio 3.0.1.1, and for Ruby 3.1 users, a fixed version is stringio 3.0.1.2. Reference: https://nvd.nist.gov/vuln/detail/CVE-2024-27280 (From OE-Core rev: 729310d17310dff955c51811ff3339fdbc017b95) Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby_3.1.3.bb')
-rw-r--r--meta/recipes-devtools/ruby/ruby_3.1.3.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby_3.1.3.bb b/meta/recipes-devtools/ruby/ruby_3.1.3.bb
index 2ad3c9e207..d4b977cdfe 100644
--- a/meta/recipes-devtools/ruby/ruby_3.1.3.bb
+++ b/meta/recipes-devtools/ruby/ruby_3.1.3.bb
@@ -34,6 +34,7 @@ SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \
34 file://CVE-2023-36617_1.patch \ 34 file://CVE-2023-36617_1.patch \
35 file://CVE-2023-36617_2.patch \ 35 file://CVE-2023-36617_2.patch \
36 file://CVE-2024-27281.patch \ 36 file://CVE-2024-27281.patch \
37 file://CVE-2024-27280.patch \
37 " 38 "
38UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/" 39UPSTREAM_CHECK_URI = "https://www.ruby-lang.org/en/downloads/"
39 40