git: 4b36a580f9f9 - main - security/vuxml: add www/forgejo HTTP/2 vulnerability

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 11 Apr 2024 06:31:43 UTC
The branch main has been updated by fernape:

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

commit 4b36a580f9f92c40eb0d8679d07b7fcdaca8773c
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2024-04-11 06:30:49 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-04-11 06:30:49 +0000

    security/vuxml: add www/forgejo HTTP/2 vulnerability
    
    PR:     278119
---
 security/vuxml/vuln/2024.xml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/security/vuxml/vuln/2024.xml b/security/vuxml/vuln/2024.xml
index 186d50408cd0..6d313ffec371 100644
--- a/security/vuxml/vuln/2024.xml
+++ b/security/vuxml/vuln/2024.xml
@@ -1,3 +1,40 @@
+  <vuln vid="c092be0e-f7cc-11ee-aa6b-b42e991fc52e">
+    <topic>forgejo -- HTTP/2 CONTINUATION flood in net/http</topic>
+    <affects>
+      <package>
+	<name>forgejo</name>
+	<range><lt>1.21.8</lt></range>
+      </package>
+    </affects>
+    <description>
+	<body xmlns="http://www.w3.org/1999/xhtml">
+	<p>security@golang.org reports:</p>
+	<blockquote cite="https://go.dev/cl/576155">
+	  <p>An attacker may cause an HTTP/2 endpoint to read arbitrary amounts
+	of header data by sending an excessive number of CONTINUATION frames.
+	Maintaining HPACK state requires parsing and processing all HEADERS
+	and CONTINUATION frames on a connection.  When a request&apos;s
+	headers exceed MaxHeaderBytes, no memory is allocated to store the
+	excess headers, but they are still parsed.  This permits an attacker
+	to cause an HTTP/2 endpoint to read arbitrary amounts of header
+	data, all associated with a request which is going to be rejected.
+	These headers can include Huffman-encoded data which is significantly
+	more expensive for the receiver to decode than for an attacker to
+	send.  The fix sets a limit on the amount of excess header frames
+	we will process before closing a connection.</p>
+	</blockquote>
+	</body>
+    </description>
+    <references>
+      <cvename>CVE-2023-45288</cvename>
+      <url>https://nvd.nist.gov/vuln/detail/CVE-2023-45288</url>
+    </references>
+    <dates>
+      <discovery>2024-04-04</discovery>
+      <entry>2024-04-11</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="02be46c1-f7cc-11ee-aa6b-b42e991fc52e">
     <topic>jose -- DoS vulnerability</topic>
     <affects>