aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2022-04-13 02:46:00 +0000
committerYasuhiro Kimura <yasu@FreeBSD.org>2022-04-13 03:04:08 +0000
commit3d893c37de5acd724f8c6458d7234146a209ac3a (patch)
tree64efb37e5f5f6d647bf459caf2abf9cc1d214f15
parentadd80dec1ab9913292b08ca8a9968728c755c222 (diff)
downloadports-3d893c37de5acd724f8c6458d7234146a209ac3a.tar.gz
ports-3d893c37de5acd724f8c6458d7234146a209ac3a.zip
security/vuxml: Document double free vulnerability in Ruby
-rw-r--r--security/vuxml/vuln-2022.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/security/vuxml/vuln-2022.xml b/security/vuxml/vuln-2022.xml
index 4017ed890967..a535735eb3a1 100644
--- a/security/vuxml/vuln-2022.xml
+++ b/security/vuxml/vuln-2022.xml
@@ -1,3 +1,47 @@
+ <vuln vid="f22144d7-bad1-11ec-9cfe-0800270512f4">
+ <topic>Ruby -- Double free in Regexp compilation</topic>
+ <affects>
+ <package>
+ <name>ruby</name>
+ <range><ge>3.0.0,1</ge><lt>3.0.4,1</lt></range>
+ <range><ge>3.1.0,1</ge><lt>3.1.2,1</lt></range>
+ </package>
+ <package>
+ <name>ruby30</name>
+ <range><ge>3.0.0,1</ge><lt>3.0.4,1</lt></range>
+ </package>
+ <package>
+ <name>ruby31</name>
+ <range><ge>3.1.0,1</ge><lt>3.1.2,1</lt></range>
+ </package>
+ </affects>
+ <description>
+ <body xmlns="http://www.w3.org/1999/xhtml">
+ <p>piao reports:</p>
+ <blockquote cite="https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/">
+ <p>
+ Due to a bug in the Regexp compilation process, creating
+ a Regexp object with a crafted source string could cause
+ the same memory to be freed twice. This is known as a
+ &quot;double free&quot; vulnerability. Note that, in general, it
+ is considered unsafe to create and use a Regexp object
+ generated from untrusted input. In this case, however,
+ following a comprehensive assessment, we treat this issue
+ as a vulnerability.
+ </p>
+ </blockquote>
+ </body>
+ </description>
+ <references>
+ <cvename>CVE-2022-28738</cvename>
+ <url>https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/</url>
+ </references>
+ <dates>
+ <discovery>2022-04-12</discovery>
+ <entry>2022-04-13</entry>
+ </dates>
+ </vuln>
+
<vuln vid="b582a85a-ba4a-11ec-8d1e-3065ec8fd3ec">
<topic>Chromium -- mulitple vulnerabilities</topic>
<affects>