🚀 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 Aron Xu Sat, 24 Oct 2026 07:30
Bug#1148187: vinyl-cache: diff for NMU version 9.0.1-4.1
#1915
Author: Aron Xu
Date: Sat, 24 Oct 2026 07:30
146 lines
6412 bytes
--R9L8BeI/PPw0cCTy
Content-Type: multipart/mixed; boundary="zeYljULUSSpRNdq1"
Content-Disposition: inline


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


Control: tags 1148187 + patch
Control: tags 1148187 + pending

Dear maintainer,

I've prepared an NMU for vinyl-cache (versioned as 9.0.1-4.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should cancel it.

Regards.


--=20
Regards,
Aron Xu

--zeYljULUSSpRNdq1
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="vinyl-cache-9.0.1-4.1-nmu.diff"
Content-Transfer-Encoding: quoted-printable

diffstat for vinyl-cache-9.0.1 vinyl-cache-9.0.1

 changelog         |    8 ++++++++
 patches/fix_vsv20 |   51 +++++++++++++++++++++++++++++++++++++++++++++++++=
++
 patches/series    |    1 +
 3 files changed, 60 insertions(+)

diff -Nru vinyl-cache-9.0.1/debian/changelog vinyl-cache-9.0.1/debian/chang=
elog
--- vinyl-cache-9.0.1/debian/changelog	2026-07-07 21:12:18.000000000 +0800
+++ vinyl-cache-9.0.1/debian/changelog	2026-10-23 13:07:48.000000000 +0800
@@ -1,3 +1,11 @@
+vinyl-cache (9.0.1-4.1) unstable; urgency=3Dhigh
+
+  * Non-maintainer upload.
+  * Backport the fix for the VCL .upper()/.lower() workspace overflow
+    (CVE-2026-93894, VSV00020). (Closes: #1148187)
+
+ -- Aron Xu <aron@debian.org>  Fri, 23 Oct 2026 13:07:48 +0800
+
 vinyl-cache (9.0.1-4) unstable; urgency=3Dmedium
=20
   * Add more Varnish compatibility:
diff -Nru vinyl-cache-9.0.1/debian/patches/fix_vsv20 vinyl-cache-9.0.1/debi=
an/patches/fix_vsv20
--- vinyl-cache-9.0.1/debian/patches/fix_vsv20	1970-01-01 07:30:00.00000000=
0 +0730
+++ vinyl-cache-9.0.1/debian/patches/fix_vsv20	2026-10-23 13:07:48.00000000=
0 +0800
@@ -0,0 +1,51 @@
+Description: Bound case-conversion writes by the workspace reservation
+ Preserve the single-string no-copy optimization while checking the
+ reservation before writing any converted or unchanged byte.
+Author: Walid Boudebouda <walid.boudebouda@gmail.com>
+Origin: upstream, https://code.vinyl-cache.org/vinyl-cache/vinyl-cache/com=
mit/853d397f30753bce1587991fcf9193c63fb4d1eb
+Bug: https://vinyl-cache.org/security/VSV00020.html
+Bug-Debian: https://bugs.debian.org/1148187
+Forwarded: not-needed
+Last-Update: 2026-10-23
+
+diff --git a/bin/vinyld/cache/cache_vrt.c b/bin/vinyld/cache/cache_vrt.c
+index 7bc2e62519..7c1168aef4 100644
+--- a/bin/vinyld/cache/cache_vrt.c
++++ b/bin/vinyld/cache/cache_vrt.c
+@@ -511,7 +511,7 @@ VRT_UpperLowerStrands(VRT_CTX, VCL_STRANDS s, int up)
+ 	unsigned u;
+ 	char *b, *e, *r;
+ 	const char *p, *q =3D NULL;
+-	int i, copy =3D 0;
++	int i, copy =3D 0, op =3D 0;
+=20
+ 	CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
+ 	CHECK_OBJ_NOTNULL(ctx->ws, WS_MAGIC);
+@@ -525,15 +525,20 @@ VRT_UpperLowerStrands(VRT_CTX, VCL_STRANDS s, int up)
+ 		if (q !=3D NULL)
+ 			copy =3D 1;
+ 		for(p =3D q =3D s->p[i]; *p !=3D '\0'; p++) {
+-			if ((up && vct_islower(*p)) ||
+-			    (!up && vct_isupper(*p))) {
+-				*b++ =3D *p ^ 0x20;
++			op =3D up ? vct_islower(*p) : vct_isupper(*p);
++
++			if (op)
+ 				copy =3D 1;
+-			} else if (b < e) {
+-				*b++ =3D *p;
+-			}
+-			if (copy && b =3D=3D e)
++
++			if (!copy && b =3D=3D e)
++				continue;
++			else if (b =3D=3D e)
+ 				break;
++
++			if (op)
++				*b++ =3D *p ^ 0x20;
++			else
++				*b++ =3D *p;
+ 		}
+ 		if (copy && b =3D=3D e) {
+ 			WS_Release(ctx->ws, 0);
diff -Nru vinyl-cache-9.0.1/debian/patches/series vinyl-cache-9.0.1/debian/=
patches/series
--- vinyl-cache-9.0.1/debian/patches/series	2026-07-07 08:35:29.000000000 +=
0800
+++ vinyl-cache-9.0.1/debian/patches/series	2026-10-23 13:07:48.000000000 +=
0800
@@ -3,3 +3,4 @@
 varnish_compatibility
 fix_vcc_cc
 set_vcs_version
+fix_vsv20

--zeYljULUSSpRNdq1--

--R9L8BeI/PPw0cCTy
Content-Type: application/pgp-signature; name="signature.asc"

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

iQEzBAEBCAAdFiEExq6D0hxncEPaPayX+GQ1dHE8m64FAmrcW8kACgkQ+GQ1dHE8
m65VTgf/fELpm8BRZKgViAByLHI+grUy83lOKraoH21DSjngOELbWNLm7dBLav85
8GMvn7t3ZsH5yMcAdxdZCiscy/JyiSHreBxx4wS1/s5UR7nlmQwg06HpGzbey/OD
5X5Mf4se+FH63LF3YOUmVc6QXubDaSkEEoTnYPBN/QVgOtkCB6wxMmaGmDOsPHRc
1Ierx7OzN69kqmYMudUuoSlSV+YvgJaEIFbNForFDYCbiAdrZgdhmOU9g7F6C4VF
IMrIoJtsJgtqTLoWRVNXheJNbUBtAE8y5L8K2/r5niTuCtFSGc2QHOFKmbML7N/Y
spdPC4L9l0X2VocaP+Yzhu6Pr7ri9A==
=+HaU
-----END PGP SIGNATURE-----

--R9L8BeI/PPw0cCTy--
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