Buffer Over-read Vulnerability in TCPFLOW Package

tcpflow Updated 02 Oct 2025

Summary

17/10/2018
N/A
Yes i
Medium
5.5

ALPINE-CVE-2018-18409: A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing incorrect computation, leading to denial of service during an address_histogram call or a get_histo... Affects tcpflow versions < 1.5.0-r1. Fixed in 1.5.0-r1. 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

TCPFLOW is a powerful tool used for capturing and analyzing TCP traffic. It allows users to reconstruct and display the data streams of TCP connections, making it invaluable for network analysis and debugging. However, the package has been found to have a critical vulnerability that can lead to denial of service under certain conditions.

Vulnerability Detail

A stack-based buffer over-read exists in the setbit() function located in iptree.h of TCPFLOW version 1.5.0. This vulnerability arises from the processing of incorrect values, which can lead to erroneous computations. The consequences of this vulnerability include potential denial of service during operations such as address_histogram or get_histogram calls, which can disrupt normal functionality and availability of the service.

How To Fix

Minimum fixed version

1.5.0-r1

This is the first release that contains the fix.

sudo apk add --upgrade tcpflow

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

Workaround

As a temporary measure, if upgrading is not immediately possible, you can limit access to the TCPFLOW service or implement network-level controls to mitigate exposure to the vulnerability until a patch can be applied.

Conclusion

The TCPFLOW package has a critical vulnerability that can lead to denial of service due to a stack-based buffer over-read. Users are advised to update to the patched version 1.5.0-r1 to mitigate this risk. Monitoring tools like Vulert can assist in identifying and managing such vulnerabilities effectively.

See every vulnerability recorded for tcpflow →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 5.5, indicating a moderate severity level.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The primary impact of this vulnerability is denial of service, which can disrupt the normal operation of applications relying on TCPFLOW.

Yes, Vulert provides a service that monitors and alerts in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

If an immediate update is not feasible, consider implementing network-level restrictions to limit access to the service until the patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for tcpflow.

How To Fix

Minimum fixed version

1.5.0-r1

This is the first release that contains the fix.

sudo apk add --upgrade tcpflow

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