git: 1f5b562498ac - main - security/vuxml: Document numpy vulnerabilities

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sat, 11 Jun 2022 00:19:06 UTC
The branch main has been updated by wen:

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

commit 1f5b562498ace955bd3b445d2ebed09f6c5888ac
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-06-11 00:18:10 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-06-11 00:18:10 +0000

    security/vuxml: Document numpy vulnerabilities
---
 security/vuxml/vuln-2022.xml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/security/vuxml/vuln-2022.xml b/security/vuxml/vuln-2022.xml
index acecd8b09c01..4ec14d8531fe 100644
--- a/security/vuxml/vuln-2022.xml
+++ b/security/vuxml/vuln-2022.xml
@@ -1,3 +1,32 @@
+  <vuln vid="b51cfaea-e919-11ec-9fba-080027240888">
+    <topic>py-numpy -- Missing return-value validation of the function PyArray_DescrNew</topic>
+    <affects>
+      <package>
+	<name>py38-numpy</name>
+	<name>py39-numpy</name>
+	<name>py310-numpy</name>
+	<range><lt>1.22.4</lt></range>
+      </package>
+    </affects>
+    <description>
+      <body xmlns="http://www.w3.org/1999/xhtml">
+	<p>Numpy reports:</p>
+	<blockquote cite="https://github.com/numpy/numpy/pull/20960">
+	  <p>At most call-sites for PyArray_DescrNew, there are no validations of its return,
+	    but an invalid address may be returned.</p>
+	</blockquote>
+      </body>
+    </description>
+    <references>
+      <cvename>CVE-2021-41495</cvename>
+      <url>https://github.com/numpy/numpy/pull/20960</url>
+    </references>
+    <dates>
+      <discovery>2021-05-19</discovery>
+      <entry>2022-06-11</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="c80ce2dd-e831-11ec-bcd2-3065ec8fd3ec">
     <topic>chromium -- multiple vulnerabilities</topic>
     <affects>