[Forensics-changes] [rkhunter] 01/03: Disable remote updates to prevent bugs like CVE-2017-7480 in the future (closes: #765895)

Francois Marier francois at moszumanska.debian.org
Wed Jul 5 17:51:16 UTC 2017


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

francois pushed a commit to branch master
in repository rkhunter.

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

    Disable remote updates to prevent bugs like CVE-2017-7480 in the future (closes: #765895)
---
 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 36b899e..ac6823a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+rkhunter (1.4.4-2) unstable; urgency=medium
+
+  * Disable remote updates to prevent bugs like CVE-2017-7480 in the
+    future (closes: #765895)
+
+ -- Francois Marier <francois at debian.org>  Wed, 05 Jul 2017 10:39:31 -0700
+
 rkhunter (1.4.4-1) unstable; urgency=high
 
   * New upstream release (closes: #815693)
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 e01846f..1138e6f 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
 30_fix-lang-update-grep.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