🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel.release
Article #986

Bug#1147147: marked as done (trixie-pu: package libhtml-formfu-perl/2.07000-2+deb13u1)

#986
From: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:40
276 lines
12859 bytes
This is a multi-part message in MIME format...

------------=_1795253359-3308646-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sat, 21 Nov 2026 09:28:02 +0000
with message-id <E1xUhO6-00000008syp-3YGZ@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1147147,
regarding trixie-pu: package libhtml-formfu-perl/2.07000-2+deb13u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1147147: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1147147
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795253359-3308646-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 8 Sep 2026 09:46:45 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-31.9 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,FOURLA,
	FROMDEVELOPER,HAS_PACKAGE,MD5_SHA1_SUM,NO_RELAYS,XMAILER_REPORTBUG
	autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 40; hammy, 150; neutral, 239; spammy,
	0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
	0.000-+--X-Debbugs-Cc, 0.000-+--H*F:U*carnil, 0.000-+--trixie,
	0.000-+--H*Ad:N*Bug
Return-path: <carnil@debian.org>
Received: via submission
	by buxtehude.debian.org with esmtp (Exim 4.96)
	(envelope-from <carnil@debian.org>)
	id 1x3sPc-009DmH-20
	for submit@bugs.debian.org;
	Tue, 08 Sep 2026 09:46:45 +0000
Content-Type: multipart/mixed; boundary="===============8876649035745067714=="
MIME-Version: 1.0
From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package libhtml-formfu-perl/2.07000-2+deb13u1
Message-ID: <178886080241.1892154.9325933382082325283.reportbug@eldamar.lan>
X-Mailer: reportbug 13.2.0+nmu1
Date: Tue, 08 Sep 2026 11:46:42 +0200
Delivered-To: submit@bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============8876649035745067714==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: libhtml-formfu-perl@packages.debian.org, team@security.debian.org, debian-perl@lists.debian.org, gregoa@debian.org, carnil@debian.org
Control: affects -1 + src:libhtml-formfu-perl
User: release.debian.org@packages.debian.org
Usertags: pu

Hi SRM

This was to late for 13.7, but please consider it for 13.8.

libhtml-formfu-perl in trixie is vulnerable to CVE-2026-19873, which
is marked as no-dsa, which may result in denial of service (resource
exhaustion).

Attached is the debdiff. QA testing was as well done with debusine at:
https://debusine.debian.net/debian/developers/work-request/1232730/

Regards,
Salvatore

--===============8876649035745067714==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="libhtml-formfu-perl_2.07000-2+deb13u1.debdiff"

diff -Nru libhtml-formfu-perl-2.07000/debian/changelog libhtml-formfu-perl-2.07000/debian/changelog
--- libhtml-formfu-perl-2.07000/debian/changelog	2024-04-10 15:35:50.000000000 +0000
+++ libhtml-formfu-perl-2.07000/debian/changelog	2026-09-05 12:43:35.000000000 +0000
@@ -1,3 +1,13 @@
+libhtml-formfu-perl (2.07000-2+deb13u1) trixie; urgency=medium
+
+  * Team upload.
+
+  [ gregor herrmann ]
+  * Add patch from CPANSec to fix resource exhaustion vulnerability
+    (CVE-2026-19873) (Closes: #1146310)
+
+ -- Salvatore Bonaccorso <carnil@debian.org>  Sat, 05 Sep 2026 14:43:35 +0200
+
 libhtml-formfu-perl (2.07000-2) unstable; urgency=medium
 
   [ gregor herrmann ]
diff -Nru libhtml-formfu-perl-2.07000/debian/patches/CVE-2026-19873-r1.patch.patch libhtml-formfu-perl-2.07000/debian/patches/CVE-2026-19873-r1.patch.patch
--- libhtml-formfu-perl-2.07000/debian/patches/CVE-2026-19873-r1.patch.patch	1970-01-01 00:00:00.000000000 +0000
+++ libhtml-formfu-perl-2.07000/debian/patches/CVE-2026-19873-r1.patch.patch	2026-09-05 12:43:35.000000000 +0000
@@ -0,0 +1,83 @@
+From f04c57ca5f65b179b70ce13422df1aa0788fb849 Mon Sep 17 00:00:00 2001
+From: Robert Rothenberg <rrwo@cpansec.org>
+Date: Fri, 21 Aug 2026 12:05:00 +0100
+Subject: [PATCH] Bound the Repeatable counter taken from the query string
+
+The counter_name query parameter was passed to repeat() with no upper
+bound, so a single request could ask for an arbitrary number of copies
+of the block's child subtree. (CVE-2026-19873)
+
+Add a max_counter attribute, defaulting to 100, that clamps the value
+read from the query. A count passed to repeat() by application code is
+not affected.
+
+Assisted-by: Claude Opus 5 (1M context)
+
+Signed-off-by: Robert Rothenberg <rrwo@cpansec.org>
+
+Bug-Debian: https://bugs.debian.org/1146310
+Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2026-19873
+
+---
+ lib/HTML/FormFu/Element/Repeatable.pm | 31 +++++++++++++++++++++++++++
+ 1 file changed, 31 insertions(+)
+
+diff --git a/lib/HTML/FormFu/Element/Repeatable.pm b/lib/HTML/FormFu/Element/Repeatable.pm
+index 920221c..e39818b 100644
+--- a/lib/HTML/FormFu/Element/Repeatable.pm
++++ b/lib/HTML/FormFu/Element/Repeatable.pm
+@@ -14,6 +14,13 @@ use Carp qw( croak );
+ 
+ has counter_name => ( is => 'rw', traits => ['Chained'] );
+ 
++has max_counter => (
++    is      => 'rw',
++    default => 100,
++    lazy    => 1,
++    traits  => ['Chained'],
++);
++
+ has _original_elements => ( is => 'rw' );
+ 
+ has increment_field_names => (
+@@ -280,6 +287,15 @@ sub process {
+ 
+         if ( defined $input && $input =~ /^[1-9][0-9]*\z/ ) {
+             $count = $input;
++
++            my $max = $self->max_counter;
++
++            if ( defined $max && $count > $max ) {
++                DEBUG_PROCESS
++                    && debug("clamping counter $count to max_counter $max");
++
++                $count = $max;
++            }
+         }
+     }
+ 
+@@ -442,6 +458,21 @@ present on the form during L<HTML::FormFu/process>, no Processors
+ (Constraints, etc.) will be run on the fields, and their values will not
+ be returned by L<HTML::FormFu/params> or L<HTML::FormFu/param>.
+ 
++=head2 max_counter
++
++Arguments: $count
++
++Default Value: 100
++
++The largest value that will be taken from the L</counter_name> query
++parameter. A larger value in the query is clamped to this limit, so the
++number of copies created from untrusted input is bounded.
++
++Set to C<undef> to restore the previous unbounded behaviour.
++
++This limit applies only to counts read from the query. A count passed
++directly to L</repeat> by application code is not affected.
++
+ =head2 increment_field_names
+ 
+ Arguments: $bool
+-- 
+2.53.0
+
diff -Nru libhtml-formfu-perl-2.07000/debian/patches/series libhtml-formfu-perl-2.07000/debian/patches/series
--- libhtml-formfu-perl-2.07000/debian/patches/series	2024-04-10 15:35:50.000000000 +0000
+++ libhtml-formfu-perl-2.07000/debian/patches/series	2026-09-05 12:43:35.000000000 +0000
@@ -1 +1,2 @@
 how-to-report-bugs.diff
+CVE-2026-19873-r1.patch.patch

--===============8876649035745067714==--

------------=_1795253359-3308646-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1147147-done) by bugs.debian.org; 21 Nov 2026 09:28:05 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-106.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,
	SPF_PASS,USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 7; hammy, 73; neutral, 16; spammy, 0.
	spammytokens: hammytokens:0.000-+--H*r:sk:coccia.,
	0.000-+--H*MI:coccia, 0.000-+--H*m:coccia, 0.000-+--H*r:submission,
	0.000-+--H*F:U*jmw
Return-path: <jmw@coccia.debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:41242)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhOA-00Drph-0k
	for 1147147-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:05 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=coccia.debian.org,EMAIL=hostmaster@coccia.debian.org (verified)
	by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO8-004hwH-0O
	for 1147147-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=coccia.debian.org; s=smtpauto.coccia; h=Date:From:Message-Id:
	Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:Reply-To:Cc:
	Content-ID:Content-Description:In-Reply-To:References;
	bh=j3C+QfqZhEAyGCz+F5Nny7uVPSJTnuL2JF6zBnHyDlM=; b=H5nkPsdKaTn/QgDkM6z5JXM49g
	ScUY263Bx8xQGmdya7TsMZDD/JIUxy2+yjmfz/O+NeiQ6F7Y/95NJBN8eePNOBXUtOfDd5KTGi+lE
	TiqU7EE2txaHEWPij/veQCj/oYSUdxbjRkomc5Y1VUjPD/KvVShUR7NSt0X+QnlVPva79bP39Dca3
	FkZe6Z1+e3zF5m7QXg8PcX2dI04dXu9JEgw/Y46W9k/8vyhR+OWrQxBhWFHmtLfVsN8l3TEi8pJkM
	qgfLnmXG0MNteNaPite49lhOymioRXlJLfHiBvcsDlcmtBPr34m7F9uWjqeoztU8noorPor+2rf4F
	VZoteDdw==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO6-00000008syp-3YGZ
	for 1147147-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:02 +0000
To: 1147147-done@bugs.debian.org
Subject: Released in 13.8
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <E1xUhO6-00000008syp-3YGZ@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:02 +0000
X-CrossAssassin-Score: 54

Version: 13.8

This update was released as part of 13.8.
------------=_1795253359-3308646-0--
Technical Details
Message-ID: <O1PJE-dfjm-97@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O1PJE-dfjm-99@gated-at.bofh.it> <NB0CJ-fW9Y-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Debian Bug Tracking System" <owner@bugs.debian.org>
Newsgroups: linux.debian.devel.release
Subject: Bug#1147147: marked as done (trixie-pu: package libhtml-formfu-perl/2.07000-2+deb13u1)
Date: Sat, 21 Nov 2026 10:40:02 +0100
Message-ID: <O1PJE-dfjm-97@gated-at.bofh.it>
References: <O1PJE-dfjm-99@gated-at.bofh.it> <NB0CJ-fW9Y-9@gated-at.bofh.it>
X-Original-To: Jonathan Wiltshire <jmw@coccia.debian.org>
X-Mailbox-Line: From debian-release-request@lists.debian.org  Sat Nov 21 09:38:24 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Amavis-Spam-Status: No, score=-2 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
MIME-Version: 1.0
X-Mailer: MIME-tools 5.510 (Entity 5.510)
X-Debian-Pr-Message: closed 1147147
X-Debian-Pr-Package: release.debian.org
X-Debian-Pr-Keywords: trixie
Reply-To: 1147147@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1795253359-3308646-0"
X-Mailing-List: <debian-release@lists.debian.org> archive/latest/189320
List-ID: <debian-release.lists.debian.org>
List-URL: <https://lists.debian.org/debian-release/>
List-Archive: https://lists.debian.org/msgid-search/handler.1147147.D1147147.17952532853305456.ackdone@bugs.debian.org
Approved: robomod@news.nic.it
Lines: 276
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 21 Nov 2026 09:29:19 +0000
X-Original-Message-ID: <handler.1147147.D1147147.17952532853305456.ackdone@bugs.debian.org>
X-Original-References: <E1xUhO6-00000008syp-3YGZ@coccia.debian.org>
 <178886080241.1892154.9325933382082325283.reportbug@eldamar.lan>