summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d0dc3b)
raw | patch | inline | side by side (parent: 3d0dc3b)
author | Steffen Joeris <steffen.joeris@skolelinux.de> | |
Wed, 8 Dec 2010 07:38:15 +0000 (18:38 +1100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 5 Jan 2012 13:21:38 +0000 (14:21 +0100) |
debian/changelog | patch | blob | history | |
debian/patches/00list | patch | blob | history | |
debian/patches/CVE-2010-4336.dpatch | [new file with mode: 0644] | patch | blob |
diff --git a/debian/changelog b/debian/changelog
index b2ec1c27c97f3b761fb95d63c94ada9bd3f725d4..aa2feb497d072f14d7244a38cdff62521b20c107 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
+collectd (4.10.1-2.1) unstable; urgency=high
+
+ * Non-maintainer upload by the security team
+ * Fix DoS in RRD file creation (Closes: #605092)
+ Fixes: CVE-2010-4336
+ Thanks to Florian Forster
+
+ -- Steffen Joeris <white@debian.org> Wed, 08 Dec 2010 17:45:50 +1100
+
collectd (4.10.1-2) unstable; urgency=medium
* debian/rules:
diff --git a/debian/patches/00list b/debian/patches/00list
index e7a35f8a0317ce3ff8d21dc05589b55f93c0bed5..87049dde8c13edce81ec8f55f737396e638915d1 100644 (file)
--- a/debian/patches/00list
+++ b/debian/patches/00list
bts595756-notify_email-segfault.dpatch
bts592623-curl_json-file.dpatch
bts596128-reheap-fix.dpatch
-
+CVE-2010-4336.dpatch
diff --git a/debian/patches/CVE-2010-4336.dpatch b/debian/patches/CVE-2010-4336.dpatch
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+##
+
+@DPATCH@
+--- ../old/collectd-4.10.1/src/utils_rrdcreate.c 2010-07-09 20:01:59.000000000 +1000
++++ collectd-4.10.1/src/utils_rrdcreate.c 2010-12-08 17:41:34.000000000 +1100
+@@ -398,10 +398,9 @@
+ memcpy (argv + ds_num, rra_def, rra_num * sizeof (char *));
+ argv[ds_num + rra_num] = NULL;
+
+- assert (vl->time > 10);
+ status = srrd_create (filename,
+ (cfg->stepsize > 0) ? cfg->stepsize : vl->interval,
+- vl->time - 10,
++ (vl->time > 10) ? (vl->time - 10) : vl->time,
+ argc, (const char **) argv);
+
+ free (argv);