git: d679d90261d2 - main - security/vuxml: Record www/forgejo security vulnerability

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 30 Aug 2024 22:32:42 UTC
The branch main has been updated by vvd:

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

commit d679d90261d22bad2a659e78325a9cc54910f54e
Author:     Stefan Bethke <stb@lassitu.de>
AuthorDate: 2024-08-30 22:29:46 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-30 22:29:46 +0000

    security/vuxml: Record www/forgejo security vulnerability
    
    Upstream issue:
    https://codeberg.org/forgejo/forgejo/pulls/5149
    
    PR:     281133
---
 security/vuxml/vuln/2024.xml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/security/vuxml/vuln/2024.xml b/security/vuxml/vuln/2024.xml
index 63dd5d285cfd..e52a8bdc8fe6 100644
--- a/security/vuxml/vuln/2024.xml
+++ b/security/vuxml/vuln/2024.xml
@@ -1,3 +1,35 @@
+  <vuln vid="eb437e17-66a1-11ef-ac08-75165d18d8d2">
+    <topic>forgejo -- The scope of application tokens was not verified when writing containers or Conan packages.</topic>
+    <affects>
+      <package>
+	<name>forgejo</name>
+	<range><lt>8.0.2</lt></range>
+      </package>
+    </affects>
+    <description>
+	<body xmlns="http://www.w3.org/1999/xhtml">
+	<p>The forgejo team reports:</p>
+	<blockquote cite="https://codeberg.org/forgejo/forgejo/milestone/7728">
+        <p>The scope of application tokens was not verified when writing
+        containers or Conan packages.  This is of no consequence when the
+        user associated with the application token does not have write
+        access to packages.  If the user has write access to packages, such
+        a token can be used to write containers and Conan packages.  An
+        application token that was used to write containers or Conan
+        packages without the package:write scope will now fail with an
+        unauthorized error.  It must be re-created to include the
+        package:write scope.</p>
+	</blockquote>
+	</body>
+    </description>
+    <references>
+      <url>https://codeberg.org/forgejo/forgejo/pulls/5149</url>
+    </references>
+    <dates>
+      <discovery>2024-08-26</discovery>
+      <entry>2024-08-30</entry>
+    </dates>
+  </vuln>
   <vuln vid="7e9cc7fd-6b3e-46c5-ad6d-409d90d41bbf">
     <topic>RabbitMQ-C -- auth credentials visible in commandline tool options</topic>
     <affects>