Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:nagvis
User: [email protected]
Usertags: pu

[ Reason ]
Fixes security issue with the apache configuration (#1156503).

[ Impact ]
Unfixed security issue.

[ Tests ]
No tests cover the maintainer script.

[ Risks ]
Fix is trivial.

[ 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 ]
The branch is updated in gbp.conf for git-buildpackage,
and in the Vcs-Git URL for debcheckout.

The maintainer script change fixes the security issue.

[ Other info ]
N/A

Kind Regards,

Bas
diff -Nru nagvis-1.9.47/debian/changelog nagvis-1.9.47/debian/changelog
--- nagvis-1.9.47/debian/changelog      2025-05-28 05:34:26.000000000 +0200
+++ nagvis-1.9.47/debian/changelog      2026-12-06 08:00:59.000000000 +0100
@@ -1,3 +1,13 @@
+nagvis (1:1.9.47-1+deb13u1) trixie; urgency=medium
+
+  * Team upload.
+  * Update branch in gbp.conf & Vcs-Git URL.
+  * Make root own /etc/nagvis to prevent privilege escalation.
+    Thanks to Özgün Kültekin for the report and fix.
+    (closes: #1156503)
+
+ -- Bas Couwenberg <[email protected]>  Sun, 06 Dec 2026 08:00:59 +0100
+
 nagvis (1:1.9.47-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru nagvis-1.9.47/debian/control nagvis-1.9.47/debian/control
--- nagvis-1.9.47/debian/control        2025-05-28 05:33:24.000000000 +0200
+++ nagvis-1.9.47/debian/control        2026-12-06 08:00:50.000000000 +0100
@@ -10,7 +10,7 @@
                quilt,
                po-debconf
 Standards-Version: 4.7.2
-Vcs-Git: https://salsa.debian.org/nagios-team/nagvis.git
+Vcs-Git: https://salsa.debian.org/nagios-team/nagvis.git -b trixie
 Vcs-Browser: https://salsa.debian.org/nagios-team/nagvis
 Homepage: https://www.nagvis.org
 Rules-Requires-Root: no
diff -Nru nagvis-1.9.47/debian/gbp.conf nagvis-1.9.47/debian/gbp.conf
--- nagvis-1.9.47/debian/gbp.conf       2025-05-28 05:33:24.000000000 +0200
+++ nagvis-1.9.47/debian/gbp.conf       2026-12-06 08:00:40.000000000 +0100
@@ -6,7 +6,7 @@
 
 # The default name for the Debian branch is "master".
 # Change it if the name is different (for instance, "debian/unstable").
-debian-branch = master
+debian-branch = trixie
 
 # git-import-orig uses the following names for the upstream tags.
 # Change the value if you are not using git-import-orig
diff -Nru nagvis-1.9.47/debian/nagvis.postinst 
nagvis-1.9.47/debian/nagvis.postinst
--- nagvis-1.9.47/debian/nagvis.postinst        2021-08-15 15:59:08.000000000 
+0200
+++ nagvis-1.9.47/debian/nagvis.postinst        2026-12-06 08:00:59.000000000 
+0100
@@ -44,7 +44,7 @@
 }
 
 update_permissions() {
-    setperm www-data www-data 0755 /etc/nagvis
+    setperm root root 0755 /etc/nagvis
     setperm www-data www-data 0755 /etc/nagvis/maps
     setperm www-data www-data 0755 /etc/nagvis/conf.d
     setperm www-data www-data 0755 /etc/nagvis/profiles

Reply via email to