Multiple stack-based buffer overflows in the get_history function in history.cgi in Nagios Core before 3.4.4, and Icinga 1.6.x before 1.6.2, 1.7.x before 1.7.4, and 1.8.x before 1.8.4, might allow remote attackers to execute arbitrary code via a long (1) host_name variable (host parameter) or (2) svc_description variable.
https://www.icinga.org/2013/01/14/icinga-1-6-2-1-7-4-1-8-4-released/
https://dev.icinga.org/issues/3532
https://bugzilla.redhat.com/show_bug.cgi?id=893269
http://www.nagios.org/projects/nagioscore/history/core-3x
http://www.debian.org/security/2013/dsa-2653
http://www.debian.org/security/2013/dsa-2616
http://secunia.com/advisories/51863
http://lists.opensuse.org/opensuse-updates/2013-01/msg00088.html
http://lists.opensuse.org/opensuse-updates/2013-01/msg00077.html
http://lists.opensuse.org/opensuse-updates/2013-01/msg00060.html
http://lists.opensuse.org/opensuse-updates/2013-01/msg00033.html
http://lists.grok.org.uk/pipermail/full-disclosure/2012-December/089125.html