git: 07dccc2562cb - main - security/vuxml: add gogs vulnerabilities

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 15 Apr 2025 06:23:53 UTC
The branch main has been updated by fernape:

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

commit 07dccc2562cb3da78c740bb73c045ed597900bb0
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2025-04-14 08:25:14 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2025-04-15 06:23:02 +0000

    security/vuxml: add gogs vulnerabilities
    
     * CVE-2024-39930
     * CVE-2024-39931
     * CVE-2024-39932
     * CVE-2024-39933
     * CVE-2024-44625
    
    PR:     280241
---
 security/vuxml/vuln/2024.xml | 46 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/security/vuxml/vuln/2024.xml b/security/vuxml/vuln/2024.xml
index 55fbade85397..a96b337f0550 100644
--- a/security/vuxml/vuln/2024.xml
+++ b/security/vuxml/vuln/2024.xml
@@ -1,3 +1,49 @@
+  <vuln vid="0230343c-1908-11f0-accc-b42e991fc52e">
+    <topic>gogs -- Multiple vulnerabilities</topic>
+    <affects>
+      <package>
+	<name>gogs</name>
+	<range><lt>0.13.0</lt></range>
+      </package>
+    </affects>
+    <description>
+	<body xmlns="http://www.w3.org/1999/xhtml">
+	<p>cve@mitre.org reports:</p>
+	<blockquote cite="https://fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs/">
+	<p>CVE-2024-44625: Directory Traversal via the editFilePost
+	function of internal/route/repo/editor.go.</p>
+	<p>CVE-2024-39933: Gogs allows argument injection during the
+	tagging of a new release.</p>
+	<p>CVE-2024-39932: Gogs allows argument injection during the
+	previewing of changes.</p>
+	<p>CVE-2024-39931: Gogs allows deletion of internal files.</p>
+	<p>CVE-2024-39930: The built-in SSH server of Gogs allows
+	argument injection in internal/ssh/ssh.go, leading to remote
+	code execution. Authenticated attackers can exploit this by
+	opening an SSH connection and sending a malicious
+	--split-string env request if the built-in SSH server is
+	activated.</p>
+	</blockquote>
+	</body>
+    </description>
+    <references>
+      <cvename>CVE-2024-44625</cvename>
+      <url>https://nvd.nist.gov/vuln/detail/CVE-2024-44625</url>
+      <cvename>CVE-2024-39933</cvename>
+      <url>https://nvd.nist.gov/vuln/detail/CVE-2024-39933</url>
+      <cvename>CVE-2024-39932</cvename>
+      <url>https://nvd.nist.gov/vuln/detail/CVE-2024-39932</url>
+      <cvename>CVE-2024-39931</cvename>
+      <url>https://nvd.nist.gov/vuln/detail/CVE-2024-39931</url>
+      <cvename>CVE-2024-39930</cvename>
+      <url>https://nvd.nist.gov/vuln/detail/CVE-2024-39930</url>
+    </references>
+    <dates>
+      <discovery>2024-11-15</discovery>
+      <entry>2025-04-14</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="ba6361be-1887-11f0-a8ce-b42e991fc52e">
     <topic>Mozilla -- null pointer dereference</topic>
     <affects>