diff options
author | Koichiro Iwao <meta@FreeBSD.org> | 2021-05-03 13:59:52 +0000 |
---|---|---|
committer | Koichiro Iwao <meta@FreeBSD.org> | 2021-05-03 13:59:52 +0000 |
commit | 4689236288cc83f50bf133cd253dcc58ce61ad54 (patch) | |
tree | d12cb15ef89adb3a722e7288e4848ddeaf56bad9 | |
parent | 6c7dc6911e7953ca4937087203d59cb706c48644 (diff) |
security/vuxml: Document command injection vulnerability in RDoc
PR: 255552
Reported by: Yasuhiro Kimura <yasu@utahime.org>
Security: CVE-2021-31799
-rw-r--r-- | security/vuxml/vuln.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/security/vuxml/vuln.xml b/security/vuxml/vuln.xml index da24c21cf97a..d1d1dc61ccfb 100644 --- a/security/vuxml/vuln.xml +++ b/security/vuxml/vuln.xml @@ -76,6 +76,38 @@ Notes: * Do not forget port variants (linux-f10-libxml2, libxml2, etc.) --> <vuxml xmlns="http://www.vuxml.org/apps/vuxml-1"> + <vuln vid="57027417-ab7f-11eb-9596-080027f515ea"> + <topic>RDoc -- command injection vulnerability</topic> + <affects> + <package> + <name>rubygem-rdoc</name> + <range><lt>6.3.1</lt></range> + </package> + </affects> + <description> + <body xmlns="http://www.w3.org/1999/xhtml"> + <p>Alexandr Savca reports:</p> + <blockquote cite="https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/"> + <p> + RDoc used to call Kernel#open to open a local file. If a Ruby project + has a file whose name starts with | and ends with tags, the command + following the pipe character is executed. A malicious Ruby project + could exploit it to run an arbitrary command execution against a user + who attempts to run rdoc command. + </p> + </blockquote> + </body> + </description> + <references> + <cvename>CVE-2021-31799</cvename> + <url>https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/</url> + </references> + <dates> + <discovery>2021-05-02</discovery> + <entry>2021-05-02</entry> + </dates> + </vuln> + <vuln vid="0add6e6b-6883-11eb-b0cb-f8b156c2bfe9"> <topic>sympa -- Unauthorised full access via SOAP API due to illegal cookie</topic> <affects> |