git: 05fc13a5744f - main - security/vuxml: document vulnerability in expat < 2.4.9

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Tue, 27 Sep 2022 04:18:46 UTC
The branch main has been updated by tcberner:

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

commit 05fc13a5744fdd5ca49fa87ab638a2180c9d697f
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-09-27 04:17:13 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-09-27 04:17:13 +0000

    security/vuxml: document vulnerability in expat < 2.4.9
    
    Rhodri James discovered a heap use-after-free vulnerability in the
    doContent function in Expat, an XML parsing C library, which could
    result in denial of service or potentially the execution of arbitrary
    code, if a malformed XML file is processed.
    
    https://www.debian.org/security/2022/dsa-5236
    https://nvd.nist.gov/vuln/detail/CVE-2022-40674
    
    Security:       CVE-2022-40674
---
 security/vuxml/vuln-2022.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/security/vuxml/vuln-2022.xml b/security/vuxml/vuln-2022.xml
index 53a35fd3aa02..4b09fa43d0f3 100644
--- a/security/vuxml/vuln-2022.xml
+++ b/security/vuxml/vuln-2022.xml
@@ -1,3 +1,30 @@
+  <vuln vid="0a0670a1-3e1a-11ed-b48b-e0d55e2a8bf9">
+    <topic>expat -- Heap use-after-free vulnerability</topic>
+    <affects>
+      <package>
+	<name>expat</name>
+	<range><lt>2.4.9</lt></range>
+      </package>
+    </affects>
+    <description>
+      <body xmlns="http://www.w3.org/1999/xhtml">
+	<p>Debian Security Advisory reports:</p>
+	<blockquote cite="https://www.debian.org/security/2022/dsa-5236">
+	  <p>Rhodri James discovered a heap use-after-free vulnerability in the doContent function in Expat, an XML parsing C library, which could result in denial of service or potentially the execution of arbitrary code, if a malformed XML file is processed.</p>
+	</blockquote>
+      </body>
+    </description>
+    <references>
+      <cvename>CVE-2022-40674</cvename>
+      <url>https://www.debian.org/security/2022/dsa-5236</url>
+      <url>https://nvd.nist.gov/vuln/detail/CVE-2022-40674</url>
+    </references>
+    <dates>
+      <discovery>2022-09-14</discovery>
+      <entry>2022-09-27</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="f9ada0b5-3d80-11ed-9330-080027f5fec9">
     <topic>squid -- Exposure of sensitive information in cache manager</topic>
     <affects>