git: 3cd785707f9d - main - security/vuxml: Document sudo CVE-2022-43995

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 08 Nov 2022 00:18:29 UTC
The branch main has been updated by cy:

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

commit 3cd785707f9dc7b53396ecfd729d1fba07c3ca04
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-11-08 00:16:07 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-11-08 00:18:23 +0000

    security/vuxml: Document sudo CVE-2022-43995
    
    Document a potential out-of-bounds write for passwords smaller than
    eight bytes when crypt() is used.
    
    PR:             267617
    Security:       CVE-2022-43995
---
 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 cca88bd9082c..b975f91f1291 100644
--- a/security/vuxml/vuln-2022.xml
+++ b/security/vuxml/vuln-2022.xml
@@ -1,3 +1,35 @@
+  <vuln vid="3310014a-5ef9-11ed-812b-206a8a720317">
+    <topic>sudo -- Potential out-of-bounds write for small passwords</topic>
+    <affects>
+      <package>
+	<name>sudo</name>
+	<range><ge>1.8.0</ge><lt>1.9.12p1</lt></range>
+      </package>
+    </affects>
+    <description>
+      <body xmlns="http://www.w3.org/1999/xhtml">
+	<p>SO-AND-SO reports:</p>
+	<blockquote cite="INSERT URL HERE">
+	  <p>Sudo 1.8.0 through 1.9.12, with the crypt() password backend,
+	     contains a plugins/sudoers/auth/passwd.c array-out-of-bounds
+	     error that can result in a heap-based buffer over-read. This
+	     can be triggered by arbitrary local users with access to sudo
+	     by entering a password of seven characters or fewer. The impact
+	     could vary depending on the system libraries, compiler,
+	     and processor architecture.</p>
+	</blockquote>
+      </body>
+    </description>
+    <references>
+      <cvename>CVE-2022-43995</cvename>
+      <url>https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-43995</url>
+    </references>
+    <dates>
+      <discovery>2022-11-07</discovery>
+      <entry>2022-11-07</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="16f7ec68-5cce-11ed-9be7-454b1dd82c64">
     <topic>Gitlab -- Multiple vulnerabilities</topic>
     <affects>