CVE-2020-7658: meinheld HTTP Request Smuggling Vulnerability

meinheld Updated 02 Oct 2025

Summary

22/05/2020
Yes i
Moderate
6.1

CVE-2020-7658: meinheld prior to 1.0.2 is vulnerable to HTTP Request Smuggling. Affects meinheld versions < 1.0.2. Fixed in 1.0.2. 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

meinheld is a Python package available on PyPI that provides a high-performance, asynchronous WSGI server. It is designed to be used with web frameworks such as Flask and Django. The package allows for efficient handling of multiple concurrent requests. However, versions prior to 1.0.2 are vulnerable to HTTP Request Smuggling attacks. This vulnerability arises from incorrect parsing of Content-Length and Transfer-Encoding headers, which can lead to HTTP pipelining issues and request smuggling attacks.

Vulnerability Detail

The vulnerability in meinheld arises from the incorrect parsing of Content-Length and Transfer-Encoding headers. This can allow an attacker to manipulate the headers in a way that bypasses security measures and enables HTTP Request Smuggling attacks. By exploiting this vulnerability, an attacker may be able to smuggle malicious requests through the server, potentially leading to unauthorized access, data leakage, or other security compromises. It is important to note that this vulnerability has been assigned the CVE identifier CVE-2020-7658.

How To Fix

Minimum fixed version

1.0.2

This is the first release that contains the fix.

pip install --upgrade "meinheld==1.0.2"

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

Conclusion

In conclusion, meinheld versions prior to 1.0.2 are vulnerable to HTTP Request Smuggling attacks due to incorrect parsing of Content-Length and Transfer-Encoding headers. It is crucial to update to version 1.0.2 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for meinheld →

Share this vulnerability

FAQ

meinheld is a Python package that provides a high-performance, asynchronous WSGI server. It is commonly used with web frameworks like Flask and Django.

HTTP Request Smuggling is a technique where an attacker manipulates the HTTP headers to bypass security measures and perform malicious actions.

Exploiting this vulnerability can lead to unauthorized access, data leakage, or other security compromises.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock and the playground will alert you in real-time for open-source vulnerabilities.

References

How To Fix

Minimum fixed version

1.0.2

This is the first release that contains the fix.

pip install --upgrade "meinheld==1.0.2"

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