Bug#1135965: bookworm-pu: package libreoffice/4:7.4.7-1+deb12u12

2026-05-07 Thread Rene Engelhard

Hi,

Am 07.05.26 um 23:17 schrieb Jonathan Wiltshire:

Please go ahead.


Uploaded, thanks.


Regards,


Rene



Bug#1135965: bookworm-pu: package libreoffice/4:7.4.7-1+deb12u12

2026-05-07 Thread Jonathan Wiltshire
Control: tag -1 confirmed

Hi,

Please go ahead.

Thanks,

-- 
Jonathan Wiltshire  [email protected]
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51
ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1



Bug#1135965: bookworm-pu: package libreoffice/4:7.4.7-1+deb12u12

2026-05-07 Thread Rene Engelhard
Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:libreoffice
User: [email protected]
Usertags: pu

Hi,

it was discovered that

libreoffice (4:7.4.7-1+deb12u6) bookworm-security; urgency=medium

  * debian/patches/be-coservative-about-allowed-font-names.diff: as name says
(CVE-2024-12425)
  * debian/patches/consider-VndSunStarExpand-an-exotic-protocol.diff
debian/patches/look-at-embedded-protocols-too.diff: add patches for
CVE-2024-12426 from upstream "co-22-05" branch

 -- Rene Engelhard   Sat, 18 Jan 2025 13:30:17 +0100

back then (https://security-tracker.debian.org/tracker/CVE-2024-12426).

didn't fix all cases because I apparently missed an upstream patch in
the series.

The security team suggests to fix this with next weeks point release.

[ Tests ]
There is a test added in the code, just test building

[ Risks ]
Is already upstream for ages so no risk. And it has a test...

[ 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

[ Changes ]
Add the patch from https://gerrit.libreoffice.org/c/core/+/178166

Diff attached. For bookworm of course s/bookworm-security//

Regards,

Rene
diff -Nru libreoffice-7.4.7/debian/changelog libreoffice-7.4.7/debian/changelog
--- libreoffice-7.4.7/debian/changelog	2026-03-19 21:25:21.0 +0100
+++ libreoffice-7.4.7/debian/changelog	2026-05-07 21:49:15.0 +0200
@@ -1,3 +1,10 @@
+libreoffice (4:7.4.7-1+deb12u12) bookworm-security; urgency=medium
+
+  * debian/patches/Fix-check-for-further-exotic-protocols.diff: add missing
+patch for CVE-2024-12426, thanks Caolan McNamara
+
+ -- Rene Engelhard   Thu, 07 May 2026 21:49:15 +0200
+
 libreoffice (4:7.4.7-1+deb12u11) bookworm-security; urgency=medium
 
   * debian/patches/Conform-AlignEngine-parsing-to-spec.diff: as name says;
diff -Nru libreoffice-7.4.7/debian/patches/Fix-check-for-further-exotic-protocols.diff libreoffice-7.4.7/debian/patches/Fix-check-for-further-exotic-protocols.diff
--- libreoffice-7.4.7/debian/patches/Fix-check-for-further-exotic-protocols.diff	1970-01-01 01:00:00.0 +0100
+++ libreoffice-7.4.7/debian/patches/Fix-check-for-further-exotic-protocols.diff	2026-05-07 21:47:25.0 +0200
@@ -0,0 +1,121 @@
+From a58893f2de8210008fa7bb403e9c9000869e6c04 Mon Sep 17 00:00:00 2001
+From: Stephan Bergmann 
+Date: Sat, 7 Dec 2024 17:36:22 +0100
+Subject: [PATCH] Fix check for further exotic protocols
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+...that were added in 59891cd3985469bc44dbd05c9fc704eeb07f0c78 "look at
+'embedded' protocols for protocols that support them"
+
+Change-Id: I42836d6fd27cd99e39ab07e626053f002a2651f5
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178047
+Tested-by: Jenkins
+Reviewed-by: Stephan Bergmann 
+(cherry picked from commit 8075798b22f2188530f57b8747589923bfd419ef)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178065
+Tested-by: Caolán McNamara 
+Reviewed-by: Caolán McNamara 
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178166
+Reviewed-by: Miklos Vajna 
+Tested-by: Jenkins CollaboraOffice 
+---
+ tools/qa/cppunit/test_urlobj.cxx | 44 
+ tools/source/fsys/urlobj.cxx | 17 +---
+ 2 files changed, 58 insertions(+), 3 deletions(-)
+
+diff --git a/tools/qa/cppunit/test_urlobj.cxx b/tools/qa/cppunit/test_urlobj.cxx
+index fff77e41f5e7..12635eba8dd3 100644
+--- a/tools/qa/cppunit/test_urlobj.cxx
 b/tools/qa/cppunit/test_urlobj.cxx
+@@ -354,6 +354,49 @@ namespace tools_urlobj
+ }
+ }
+ 
++void testIsExoticProtocol() {
++{
++INetURLObject url(u"vnd.sun.star.pkg://slot%3A0");
++CPPUNIT_ASSERT_EQUAL(INetProtocol::VndSunStarPkg, url.GetProtocol());
++CPPUNIT_ASSERT(url.IsExoticProtocol());
++}
++{
++INetURLObject url(u"vnd.sun.star.pkg://vnd.sun.star.pkg%3A%2F%2Fslot%253A0");
++CPPUNIT_ASSERT_EQUAL(INetProtocol::VndSunStarPkg, url.GetProtocol());
++CPPUNIT_ASSERT(url.IsExoticProtocol());
++}
++{
++INetURLObject url(u"vnd.sun.star.pkg://http%3A%2F%2Fexample.net");
++CPPUNIT_ASSERT_EQUAL(INetProtocol::VndSunStarPkg, url.GetProtocol());
++CPPUNIT_ASSERT(!url.IsExoticProtocol());
++}
++{
++INetURLObject url(u"vnd.sun.star.zip://slot%3A0");
++CPPUNIT_ASSERT_EQUAL(INetProtocol::Generic, url.GetProtocol());
++CPPUNIT_ASSERT(url.IsExoticProtocol());
++}
++{
++INetURLObject url(u"vnd.sun.star.zip://slot%3A0/foo");
++