Buffer Overflow Vulnerability in Apache Zookeeper

zookeeper Updated 02 Oct 2025

Summary

18/09/2016
N/A
Yes i
Unrated
Not published

DLA-630-1: zookeeper - security update. Affects zookeeper versions < 3.3.5+dfsg1-2+deb7u1. Fixed in 3.3.5+dfsg1-2+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache Zookeeper is a high-performance coordination service for distributed applications. It provides a simple interface for distributed process synchronization and configuration management. The C client shells cli_st and cli_mt of Apache Zookeeper were found to be vulnerable to a buffer overflow. This vulnerability occurs when parsing the input command using the "cmd:" batch mode syntax. If the command string exceeds 1024 characters, a buffer overflow will occur.

Vulnerability Detail

The buffer overflow vulnerability in Apache Zookeeper's C client shells cli_st and cli_mt arises from improper handling of input commands. When using the "cmd:" batch mode syntax, if the command string exceeds 1024 characters, a buffer overflow can be triggered. An attacker could exploit this vulnerability by crafting a malicious command that exceeds the buffer size, potentially leading to arbitrary code execution or denial of service.

How To Fix

Minimum fixed version

3.3.5+dfsg1-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade zookeeper

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the provided fix by upgrading to the patched version of Apache Zookeeper.

Conclusion

The buffer overflow vulnerability in Apache Zookeeper's C client shells cli_st and cli_mt can be mitigated by upgrading to the patched version of Apache Zookeeper. It is crucial to promptly apply the fix to prevent potential exploitation and ensure the security of your distributed applications. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for zookeeper →

Share this vulnerability

FAQ

Apache Zookeeper is a high-performance coordination service for distributed applications. It provides a centralized infrastructure for maintaining configuration information, naming, providing distributed synchronization, and group services.

A buffer overflow vulnerability occurs when a program writes more data to a buffer than it can hold, causing the excess data to overflow into adjacent memory areas. This can lead to memory corruption, crashes, or even arbitrary code execution.

An attacker can exploit this vulnerability by crafting a command that exceeds the buffer size when using the affected C client shells of Apache Zookeeper. By triggering a buffer overflow, the attacker may be able to execute arbitrary code or disrupt the normal operation of the application.

No, there is no known workaround for this vulnerability. It is crucial to apply the provided fix by upgrading to the patched version of Apache Zookeeper.

You can obtain the patched version of Apache Zookeeper (3.3.5+dfsg1-2+deb7u1 or later) from the Debian repository or the official Apache Zookeeper website.

Related vulnerabilities

Recent vulnerabilities recorded for zookeeper.

How To Fix

Minimum fixed version

3.3.5+dfsg1-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade zookeeper

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback