git: c404f72d903f - main - security/vuxml: Document aide CVE-2021-45417

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sun, 23 Jan 2022 23:01:54 UTC
The branch main has been updated by cy:

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

commit c404f72d903fbc5283f02627f78c8094d77ea502
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-01-23 22:59:57 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-01-23 23:01:46 +0000

    security/vuxml: Document aide CVE-2021-45417
    
    Document aide heap buffer overflow.
    
    PR:             261407
    Reported by:    Yonas Yanfa <yonas.yanfa@gmail.com>
---
 security/vuxml/vuln-2022.xml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/security/vuxml/vuln-2022.xml b/security/vuxml/vuln-2022.xml
index d23832312048..2fa7d3c2d9fe 100644
--- a/security/vuxml/vuln-2022.xml
+++ b/security/vuxml/vuln-2022.xml
@@ -1,3 +1,35 @@
+  <vuln vid="309c35f4-7c9f-11ec-a739-206a8a720317">
+    <topic>aide -- heap-based buffer overflow</topic>
+    <affects>
+      <package>
+	<name>aide</name>
+	<range><lt>0.17.4</lt></range>
+      </package>
+    </affects>
+    <description>
+      <body xmlns="http://www.w3.org/1999/xhtml">
+	<p>David Bouman reports:</p>
+	<blockquote cite="INSERT URL HERE">
+	  <p>AIDE before 0.17.4 allows local users to obtain root privileges
+	     via crafted file metadata (such as XFS extended attributes or
+	     tmpfs ACLs), because of a heap-based buffer overflow.</p>
+	  <p>Aide uses a fixed size (16k bytes) for the return buffer in
+	     encode_base64/decode_base64 functions. This results in a segfault
+	     if aide processes a file with too large extended attribute value
+	     or ACL.</p>
+	</blockquote>
+      </body>
+    </description>
+    <references>
+      <cvename>CVE-2021-45417</cvename>
+      <url>https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45417</url>
+    </references>
+    <dates>
+      <discovery>2022-01-15</discovery>
+      <entry>2022-01-23</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="51496cbc-7a0e-11ec-a323-3065ec8fd3ec">
     <topic>chromium -- multiple vulnerabilities</topic>
     <affects>