🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by David Prévot Sun, 25 Oct 2026 18:10
Bug#1151964: trixie-pu: package php-league-flysystem/3.29.1-2+deb13u1
#2005
Author: David Prévot
Date: Sun, 25 Oct 2026 18:10
169 lines
7860 bytes
--C67jImNvb6fJmxHw
Content-Type: multipart/mixed; boundary="GP0Gvv7PIfrI/hXU"
Content-Disposition: inline

--GP0Gvv7PIfrI/hXU
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: php-league-flysystem@packages.debian.org
Control: affects -1 + src:php-league-flysystem
User: release.debian.org@packages.debian.org
Usertags: pu

Hi,

I=E2=80=99d like to fix CVE-2026-102601 in Trixie that has been tagged as n=
o-dsa
by the security team. The patch is straightforward (yet, had to be
adapted) and includes an additional test case.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

Thanks in advance for considering.

Regards,

taffit

--GP0Gvv7PIfrI/hXU
Content-Type: text/x-diff; charset=iso-8859-1
Content-Disposition: attachment; filename=php-league-flysystem.patch
Content-Transfer-Encoding: quoted-printable

diff -Nru php-league-flysystem-3.29.1/debian/changelog php-league-flysystem=
-3.29.1/debian/changelog
--- php-league-flysystem-3.29.1/debian/changelog	2025-02-22 16:43:13.000000=
000 +0100
+++ php-league-flysystem-3.29.1/debian/changelog	2026-10-25 11:21:51.000000=
000 +0100
@@ -1,3 +1,10 @@
+php-league-flysystem (3.29.1-2+deb13u1) trixie; urgency=3Dmedium
+
+  * New debian/trixie branch for Trixie
+  * Report broken utf-8 as a corrupted path [CVE-2026-102601] (Closes: #11=
49886)
+
+ -- David Pr=E9vot <taffit@debian.org>  Sun, 25 Oct 2026 11:21:51 +0100
+
 php-league-flysystem (3.29.1-2) unstable; urgency=3Dmedium
=20
   * Team upload
diff -Nru php-league-flysystem-3.29.1/debian/control php-league-flysystem-3=
=2E29.1/debian/control
--- php-league-flysystem-3.29.1/debian/control	2025-02-22 16:41:29.00000000=
0 +0100
+++ php-league-flysystem-3.29.1/debian/control	2026-10-25 11:13:52.00000000=
0 +0100
@@ -14,7 +14,7 @@
 Standards-Version: 4.7.1
 Homepage: https://flysystem.thephpleague.com/
 Vcs-Browser: https://salsa.debian.org/php-team/pear/php-league-flysystem
-Vcs-Git: https://salsa.debian.org/php-team/pear/php-league-flysystem.git
+Vcs-Git: https://salsa.debian.org/php-team/pear/php-league-flysystem.git -=
b debian/trixie
 Rules-Requires-Root: no
=20
 Package: php-league-flysystem
diff -Nru php-league-flysystem-3.29.1/debian/gbp.conf php-league-flysystem-=
3.29.1/debian/gbp.conf
--- php-league-flysystem-3.29.1/debian/gbp.conf	2024-07-24 08:42:28.0000000=
00 +0200
+++ php-league-flysystem-3.29.1/debian/gbp.conf	2026-10-25 11:13:52.0000000=
00 +0100
@@ -1,5 +1,5 @@
 [DEFAULT]
-debian-branch =3D debian/latest
+debian-branch =3D debian/trixie
 pristine-tar =3D True
 pristine-tar-commit =3D True
 sign-tags =3D True
diff -Nru php-league-flysystem-3.29.1/debian/patches/0003-Report-broken-utf=
-8-as-a-corrupted-path.patch php-league-flysystem-3.29.1/debian/patches/000=
3-Report-broken-utf-8-as-a-corrupted-path.patch
--- php-league-flysystem-3.29.1/debian/patches/0003-Report-broken-utf-8-as-=
a-corrupted-path.patch	1970-01-01 01:00:00.000000000 +0100
+++ php-league-flysystem-3.29.1/debian/patches/0003-Report-broken-utf-8-as-=
a-corrupted-path.patch	2026-10-25 11:18:09.000000000 +0100
@@ -0,0 +1,40 @@
+From: Frank de Jonge <info@frankdejonge.nl>
+Date: Sat, 22 Aug 2026 14:53:53 +0200
+Subject: Report broken utf-8 as a corrupted path.
+
+Origin: backport, https://github.com/thephpleague/flysystem/commit/ef4a9a5=
57d769b5d472c403125716706a0d9cc77
+Bug: https://github.com/thephpleague/flysystem/security/advisories/GHSA-cx=
f4-7mrp-vvpr
+Bug-Debian: https://bugs.debian.org/1149886
+---
+ src/WhitespacePathNormalizer.php     | 4 +++-
+ src/WhitespacePathNormalizerTest.php | 2 +-
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/WhitespacePathNormalizer.php b/src/WhitespacePathNormaliz=
er.php
+index 135b22a..2edd943 100644
+--- a/src/WhitespacePathNormalizer.php
++++ b/src/WhitespacePathNormalizer.php
+@@ -16,7 +16,9 @@ class WhitespacePathNormalizer implements PathNormalizer
+=20
+     private function rejectFunkyWhiteSpace(string $path): void
+     {
+-        if (preg_match('#\p{C}+#u', $path)) {
++        $match =3D preg_match('#\p{C}+#u', $path);
++
++        if ($match !=3D=3D 0) {
+             throw CorruptedPathDetected::forPath($path);
+         }
+     }
+diff --git a/src/WhitespacePathNormalizerTest.php b/src/WhitespacePathNorm=
alizerTest.php
+index bfafe6d..8066482 100644
+--- a/src/WhitespacePathNormalizerTest.php
++++ b/src/WhitespacePathNormalizerTest.php
+@@ -76,7 +76,7 @@ class WhitespacePathNormalizerTest extends TestCase
+=20
+     public static function dpFunkyWhitespacePaths(): iterable
+     {
+-        return [["some\0/path.txt"], ["s\x09i.php"]];
++        return [["some\0/path.txt"], ["s\x09i.php"], ["foo\x80\x1bbar"]];
+     }
+=20
+     /**
diff -Nru php-league-flysystem-3.29.1/debian/patches/series php-league-flys=
ystem-3.29.1/debian/patches/series
--- php-league-flysystem-3.29.1/debian/patches/series	2025-02-22 16:36:38.0=
00000000 +0100
+++ php-league-flysystem-3.29.1/debian/patches/series	2026-10-25 11:18:09.0=
00000000 +0100
@@ -1,2 +1,3 @@
 0001-Group-require-root-for-failing-autopkgtests.patch
 0002-Modernize-PHPUnit-syntax.patch
+0003-Report-broken-utf-8-as-a-corrupted-path.patch

--GP0Gvv7PIfrI/hXU--

--C67jImNvb6fJmxHw
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAmrd2n0ACgkQBYwc+UT2
vTyurAgAiZskxrLTr5Wkhhso5REds8pykN1Xj3Anmpj15fz+zm47Ct9UH7INlC/g
uBntsw8/lUqySi9m6zSv4PRvgQbdAJ0Q6sbyAHI2gIYERUH8z9gCQrhx//sJABMk
o9V1GaPpIjAkAR7lgLSBgBImfLwtPIJHSq7DHWjLWaYXKmvrJr5+cwTvneIlrsLy
b8jVuW0W30o8dh23e5HYDqd0uC2ZUpcL1udcaH9CGsRTpM0a/YH84CdQiuZA0NzD
XSHbI8w6ubN8eVh0UdspMDLvPtWp5BzdUVmhJng2u7CCJCHu3zptVN0IkQpgav1v
voF3+loscWHPt+wpDnU4tLRaHcStFw==
=caFo
-----END PGP SIGNATURE-----

--C67jImNvb6fJmxHw--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads