{"id":"CVE-2016-5017","aliases":["DEBIAN-CVE-2016-5017","DLA-630-1","EUVD-2016-5972","GHSA-85r2-fvq8-6xw9","MGASA-2016-0328","UBUNTU-CVE-2016-5017","USN-4789-1"],"status":"published","title":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when...","description":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when using the \"cmd:\" batch mode syntax, allows attackers to have unspecified impact via a long command string.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06793,"percentile":0.94039,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2016-09-18T00:00:00Z","modified":"2026-10-24T10:31:06Z","fixes":[{"ecosystem":"Debian:12","package":"zookeeper","fixed_in":["3.4.9-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"zookeeper","fixed_in":["3.4.9-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"zookeeper","fixed_in":["3.4.9-1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"zookeeper","fixed_in":["3.3.5+dfsg1-2+deb7u1"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"zookeeper","fixed_in":["3.4.5-25.1.mga5"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"zookeeper","fixed_in":["3.4.5+dfsg-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"zookeeper","fixed_in":["3.4.8-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"zookeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.9-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"zookeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.9-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"zookeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.9-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"zookeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.5+dfsg1-2+deb7u1"}]}],"versions":["3.3.5+dfsg1-2"]},{"source":"osv","ecosystem":"Mageia:5","package":"zookeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.5-25.1.mga5"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"zookeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.5+dfsg-1ubuntu0.1~esm1"}]}],"versions":["3.4.5+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"zookeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.8-1ubuntu0.1~esm1"}]}],"versions":["3.4.6-8","3.4.7-1","3.4.8-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"zookeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.5+dfsg-1ubuntu0.1~esm1"}]}],"versions":["3.4.5+dfsg-1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"zookeeper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.8-1ubuntu0.1~esm1"}]}],"versions":["3.4.6-8","3.4.7-1","3.4.8-1"],"bundled":3}],"products":[{"vendor":"apache","product":"zookeeper"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/09/17/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Release Notes","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/93044","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272%40%3Cissues.activemq.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3%40%3Ccommits.nifi.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b%40%3Ccommits.nifi.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://www.cloudera.com/documentation/other/security-bulletins/topics/csb_topic_1.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://git-wip-us.apache.org/repos/asf?p=zookeeper.git%3Ba=commitdiff%3Bh=27ecf981a15554dc8e64a28630af7a5c9e2bdf4f","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://zookeeper.apache.org/security.html#CVE-2016-5017","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"http://packetstormsecurity.com/files/138755/ZooKeeper-3.4.8-3.5.2-Buffer-Overflow.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://git-wip-us.apache.org/repos/asf?p=zookeeper.git%3Ba=commitdiff%3Bh=f09154d6648eeb4ec5e1ac8a2bacbd2f8c87c14a","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r4b743f407244294f316325458ccaabfce9cd70ca3a6423dbe574035c%40%3Cnotifications.dubbo.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-5017"},{"url":"https://git-wip-us.apache.org/repos/asf?p=zookeeper.git;a=commitdiff;h=27ecf981a15554dc8e64a28630af7a5c9e2bdf4f"},{"url":"https://git-wip-us.apache.org/repos/asf?p=zookeeper.git;a=commitdiff;h=f09154d6648eeb4ec5e1ac8a2bacbd2f8c87c14a"},{"url":"https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E"},{"url":"https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3E"},{"url":"https://lists.apache.org/thread.html/r4b743f407244294f316325458ccaabfce9cd70ca3a6423dbe574035c@%3Cnotifications.dubbo.apache.org%3E"},{"url":"https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E"},{"url":"https://github.com/advisories/GHSA-85r2-fvq8-6xw9"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-5017","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2016-0328.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19419","tags":["report"]},{"url":"http://lwn.net/Alerts/701123/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-5017","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-5017","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4789-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-5637","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-8012","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-5017","description":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when using the \"cmd:\" batch mode syntax, allows attackers to have unspecified impact via a long command string.","status":"published","published":"2016-09-21T14:00:00Z","modified":"2024-08-06T00:46:40.206Z","updated_at":"2026-11-02T14:33:31.117878Z"}],"euvd":[{"id":"EUVD-2016-5972","description":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when using the \"cmd:\" batch mode syntax, allows attackers to have unspecified impact via a long command string.","status":"published","published":"2016-09-21T14:00:00Z","modified":"2024-08-06T00:46:40Z","updated_at":"2026-11-03T02:22:43.959327Z"}],"ghsa":[{"id":"GHSA-85r2-fvq8-6xw9","title":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when...","description":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when using the \"cmd:\" batch mode syntax, allows attackers to have unspecified impact via a long command string.","status":"published","published":"2022-05-13T01:05:08Z","modified":"2025-04-12T13:05:26Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:29.780856Z"}],"nvd":[{"id":"CVE-2016-5017","description":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when using the \"cmd:\" batch mode syntax, allows attackers to have unspecified impact via a long command string.","status":"published","published":"2016-09-21T14:25:12.08Z","modified":"2026-06-17T00:48:37.263Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:29.893676Z"}],"osv":[{"id":"CVE-2016-5017","description":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when using the \"cmd:\" batch mode syntax, allows attackers to have unspecified impact via a long command string.","status":"published","published":"2016-09-21T14:25:12.08Z","modified":"2026-10-24T10:31:06.013933663Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:02.454775Z"},{"id":"DEBIAN-CVE-2016-5017","description":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when using the \"cmd:\" batch mode syntax, allows attackers to have unspecified impact via a long command string.","status":"published","published":"2016-09-21T14:25:12.08Z","modified":"2026-09-22T07:03:00.9926662Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.627285Z"},{"id":"UBUNTU-CVE-2016-5017","description":"Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when using the \"cmd:\" batch mode syntax, allows attackers to have unspecified impact via a long command string.","status":"published","published":"2016-09-21T14:25:00Z","modified":"2026-04-22T10:46:39.080208Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:12.261906Z"},{"id":"DLA-630-1","title":"zookeeper - security update","status":"published","published":"2016-09-18T00:00:00Z","modified":"2026-03-09T02:09:04.658592Z","updated_at":"2026-11-02T15:46:13.207219Z"},{"id":"MGASA-2016-0328","title":"Updated zookeeper packages fix security vulnerability","description":"Lyon Yang discovered that the C client shells cli_st and cli_mt of Apache\nZookeeper were affected by a buffer overflow vulnerability associated with\nparsing of the input command when using the \"cmd:\" batch mode syntax. If\nthe command string exceeds 1024 characters a buffer overflow will occur\n(CVE-2016-5017).\n","status":"published","published":"2016-09-28T05:59:24Z","modified":"2026-04-16T06:24:54.786517635Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"USN-4789-1","title":"zookeeper vulnerabilities","description":"It was discovered that Apache ZooKeeper incorrectly handled certain inputs.\nAn attacker could possibly use this issue to cause a denial of service or\nother unspecified impact. (CVE-2016-5017)\n\nIt was discovered that Apache ZooKeeper incorrectly implemented \"wchp/wchc\"\ncommands. An attacker could possibly use this issue to cause a denial of\nservice. (CVE-2017-5637)\n\nIt was discovered that Apache Zookeeper incorrectly handled clusters. An\nattacker could possibly use this issue to obtain sensitive information.\nThis issue only affected Ubuntu 16.04 ESM. (CVE-2018-8012)\n","status":"published","published":"2021-03-15T21:08:52Z","modified":"2026-06-29T13:48:21.045475745Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
