Vulnerability in python-bottle: CRLF Attacks via Redirection Handling

python-bottle Updated 02 Oct 2025

Summary

15/01/2017
N/A
Yes i
Unrated
Not published

DLA-761-2: python-bottle - regression update. Affects python-bottle versions < 0.10.11-1+deb7u3. Fixed in 0.10.11-1+deb7u3. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

python-bottle is a WSGI-framework for the Python programming language. It provides a simple and lightweight web framework for building web applications. The package is widely used and popular among Python developers. However, a vulnerability has been discovered in python-bottle that allows for CRLF attacks via redirection handling.

Vulnerability Detail

The vulnerability in python-bottle arises from the improper filtering of "\r\n" sequences when handling redirections. This allows an attacker to perform CRLF attacks, such as HTTP header injection. By injecting malicious headers, an attacker can manipulate the behavior of the web application and potentially perform various attacks, including cross-site scripting (XSS) and session hijacking. This vulnerability poses a significant risk to the security and integrity of web applications built using python-bottle.

How To Fix

Minimum fixed version

0.10.11-1+deb7u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-bottle

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 recommended fix by upgrading the python-bottle package to the patched version.

Conclusion

The vulnerability in python-bottle allows for CRLF attacks via redirection handling, which can lead to various security risks. It is crucial to upgrade the python-bottle package to the patched version to mitigate the vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for python-bottle →

Share this vulnerability

FAQ

Python-bottle is a WSGI-framework for the Python programming language, providing a lightweight web framework for building web applications.

A CRLF attack, also known as an HTTP response splitting attack, is a web application vulnerability that allows an attacker to inject arbitrary HTTP headers or control the response sent by the server. This can lead to various attacks, including cross-site scripting (XSS) and session hijacking.

By injecting malicious headers containing CRLF sequences, an attacker can manipulate the behavior of the web application and potentially perform attacks like cross-site scripting (XSS) and session hijacking.

Yes, the vulnerability has been fixed in python-bottle version 0.10.11-1+deb7u2 or later. It is recommended to upgrade to the patched version to mitigate the risk.

You can obtain the updated python-bottle package from the official Debian repository or through package management tools like apt-get.

Related vulnerabilities

Recent vulnerabilities recorded for python-bottle.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.10.11-1+deb7u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-bottle

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