[Forensics-changes] [rkhunter] 01/01: Backport security fix from unstable

Francois Marier francois at moszumanska.debian.org
Sat Jul 15 19:30:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

francois pushed a commit to branch stretch
in repository rkhunter.

commit 4bc6a850272df77950a70a9eb60999295d69f3ae
Author: Francois Marier <francois at debian.org>
Date:   Wed Jul 5 10:41:44 2017 -0700

    Backport security fix from unstable
---
 debian/changelog                       |  7 ++++++
 debian/patches/06_disable-updates.diff | 44 ++++++++++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 3 files changed, 52 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8403a90..71f4be2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+rkhunter (1.4.2-6+deb9u1) stable; urgency=high
+
+  * Disable remote updates to fix CVE-2017-7480 and prevent bugs like
+    it in the future (closes: #765895, #866677)
+
+ -- Francois Marier <francois at debian.org>  Wed, 12 Jul 2017 03:07:17 +0000
+
 rkhunter (1.4.2-6) unstable; urgency=medium
 
   * Fix logcheck rule ("1 seconds")
diff --git a/debian/patches/06_disable-updates.diff b/debian/patches/06_disable-updates.diff
new file mode 100644
index 0000000..063ae32
--- /dev/null
+++ b/debian/patches/06_disable-updates.diff
@@ -0,0 +1,44 @@
+Description: Disable all remote updates
+Author: Christoph Anton Mitterer <calestyo at scientia.net>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765895
+Forwarded: not-needed
+Last-Update: 2017-07-05
+
+--- a/files/rkhunter.conf
++++ b/files/rkhunter.conf
+@@ -104,7 +104,7 @@
+ #
+ # The default value is '1'.
+ #
+-#UPDATE_MIRRORS=1
++UPDATE_MIRRORS=0
+ 
+ #
+ # The MIRRORS_MODE option tells rkhunter which mirrors are to be used when
+@@ -119,7 +119,7 @@
+ #
+ # The default value is '0'.
+ #
+-#MIRRORS_MODE=0
++MIRRORS_MODE=1
+ 
+ #
+ # Email a message to this address if a warning is found when the system is
+@@ -221,7 +221,7 @@ SCRIPTDIR=/usr/share/rkhunter/scripts
+ # The default value is the null string, indicating that all the language files
+ # will be updated.
+ #
+-#UPDATE_LANG=""
++UPDATE_LANG="en"
+ 
+ #
+ # This option specifies the log file pathname. The file will be created if it
+@@ -1131,7 +1131,7 @@ SCRIPTWHITELIST=/usr/sbin/adduser
+ #
+ # This option has no default value.
+ #
+-#WEB_CMD=""
++WEB_CMD="/bin/false"
+ 
+ #
+ # Set the following option to '1' if locking is to be used when rkhunter runs.
diff --git a/debian/patches/series b/debian/patches/series
index 2119f78..4ebacaf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
 05_custom_conffile.diff
+06_disable-updates.diff
 10_fix-man.diff
 15_remove-empty-dir.diff
 20_fix-ipcs-language.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/rkhunter.git



More information about the forensics-changes mailing list