Off-by-one error in the process_cgivars function in contrib/daemonchk.c in Nagios Core 3.5.1, 4.0.2, and earlier allows remote authenticated users to obtain sensitive information from process memory or cause a denial of service (crash) via a long string in the last key value in the variable list, which triggers a heap-based buffer over-read.
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "3.5.1-1ubuntu1.1", "binary_name": "nagios3" }, { "binary_version": "3.5.1-1ubuntu1.1", "binary_name": "nagios3-cgi" }, { "binary_version": "3.5.1-1ubuntu1.1", "binary_name": "nagios3-cgi-dbgsym" }, { "binary_version": "3.5.1-1ubuntu1.1", "binary_name": "nagios3-common" }, { "binary_version": "3.5.1-1ubuntu1.1", "binary_name": "nagios3-core" }, { "binary_version": "3.5.1-1ubuntu1.1", "binary_name": "nagios3-core-dbgsym" }, { "binary_version": "3.5.1-1ubuntu1.1", "binary_name": "nagios3-dbg" }, { "binary_version": "3.5.1-1ubuntu1.1", "binary_name": "nagios3-dbgsym" }, { "binary_version": "3.5.1-1ubuntu1.1", "binary_name": "nagios3-doc" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "3.5.1.dfsg-2.1ubuntu1.1", "binary_name": "nagios3" }, { "binary_version": "3.5.1.dfsg-2.1ubuntu1.1", "binary_name": "nagios3-cgi" }, { "binary_version": "3.5.1.dfsg-2.1ubuntu1.1", "binary_name": "nagios3-cgi-dbgsym" }, { "binary_version": "3.5.1.dfsg-2.1ubuntu1.1", "binary_name": "nagios3-common" }, { "binary_version": "3.5.1.dfsg-2.1ubuntu1.1", "binary_name": "nagios3-core" }, { "binary_version": "3.5.1.dfsg-2.1ubuntu1.1", "binary_name": "nagios3-core-dbgsym" }, { "binary_version": "3.5.1.dfsg-2.1ubuntu1.1", "binary_name": "nagios3-dbg" }, { "binary_version": "3.5.1.dfsg-2.1ubuntu1.1", "binary_name": "nagios3-dbgsym" }, { "binary_version": "3.5.1.dfsg-2.1ubuntu1.1", "binary_name": "nagios3-doc" } ] }