git: af09f561b866 - main - security/vuxml: Document arbitrary memory address read vulnerability in Ruby

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 23 Apr 2024 14:56:56 UTC
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=af09f561b8662549c97c9d2f6437a14ced73db54

commit af09f561b8662549c97c9d2f6437a14ced73db54
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-04-23 13:50:21 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-04-23 14:55:30 +0000

    security/vuxml: Document arbitrary memory address read vulnerability in Ruby
---
 security/vuxml/vuln/2024.xml | 45 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/security/vuxml/vuln/2024.xml b/security/vuxml/vuln/2024.xml
index 571f786f78be..da6a020483c3 100644
--- a/security/vuxml/vuln/2024.xml
+++ b/security/vuxml/vuln/2024.xml
@@ -1,3 +1,48 @@
+  <vuln vid="2ce1a2f1-0177-11ef-a45e-08002784c58d">
+    <topic>ruby -- Arbitrary memory address read vulnerability with Regex search</topic>
+    <affects>
+      <package>
+	<name>ruby</name>
+	<range><ge>3.1.0,1</ge><lt>3.1.5,1</lt></range>
+	<range><ge>3.2.0,1</ge><lt>3.2.4,1</lt></range>
+	<range><ge>3.3.0,1</ge><lt>3.3.1,1</lt></range>
+      </package>
+      <package>
+	<name>ruby31</name>
+	<range><ge>3.1.0,1</ge><lt>3.1.5,1</lt></range>
+      </package>
+      <package>
+	<name>ruby32</name>
+	<range><ge>3.2.0,1</ge><lt>3.2.4,1</lt></range>
+      </package>
+      <package>
+	<name>ruby33</name>
+	<range><ge>3.3.0,1</ge><lt>3.3.1,1</lt></range>
+      </package>
+    </affects>
+    <description>
+	<body xmlns="http://www.w3.org/1999/xhtml">
+	<p>sp2ip reports:</p>
+	<blockquote cite="https://www.ruby-lang.org/en/news/2024/04/23/arbitrary-memory-address-read-regexp-cve-2024-27282/">
+	  <p>
+	    If attacker-supplied data is provided to the Ruby regex
+	    compiler, it is possible to extract arbitrary heap data
+	    relative to the start of the text, including pointers and
+	    sensitive strings.
+	  </p>
+	</blockquote>
+	</body>
+    </description>
+    <references>
+      <cvename>CVE-2024-27282</cvename>
+      <url>https://www.ruby-lang.org/en/news/2024/04/23/arbitrary-memory-address-read-regexp-cve-2024-27282/</url>
+    </references>
+    <dates>
+      <discovery>2024-04-23</discovery>
+      <entry>2024-04-23</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="304d92c3-00c5-11ef-bd52-080027bff743">
 	<topic>sdl2_sound -- multiple vulnerabilities</topic>
     <affects>