Vulnerability in python-bottle - CRLF Attacks via Redirections

python-bottle Updated 02 Oct 2025

Summary

24/12/2016
N/A
Yes i
Unrated
Not published

DLA-761-1: python-bottle - security update. Affects python-bottle versions < 0.10.11-1+deb7u2. Fixed in 0.10.11-1+deb7u2. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

python-bottle is a WSGI-framework for the Python programming language. It provides a lightweight and efficient way to handle web requests and build web applications. The package is widely used in the Debian 7 Wheezy ecosystem. However, a security flaw has been discovered in python-bottle that allows for CRLF attacks via redirections. This vulnerability arises from the improper filtering of "\r\n" sequences when handling redirections.

Vulnerability Detail

The vulnerability in python-bottle allows an attacker to perform CRLF attacks, specifically HTTP header injection. By exploiting this flaw, an attacker can inject arbitrary headers into HTTP responses, potentially leading to various security issues such as cross-site scripting (XSS) attacks, cache poisoning, or session hijacking. This can have severe ramifications for the security and integrity of web applications utilizing python-bottle.

How To Fix

Minimum fixed version

0.10.11-1+deb7u2

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 specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring they have the latest version of python-bottle installed and promptly applying any security updates provided by the Debian project.

Conclusion

The vulnerability in python-bottle allows for CRLF attacks via redirections, potentially leading to various security issues. It is crucial to upgrade to the latest version of python-bottle (0.10.11-1+deb7u2 or later) to mitigate this 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, designed to handle web requests and build web applications efficiently.

A CRLF attack, also known as an HTTP response splitting attack, involves injecting malicious headers into HTTP responses to manipulate the behavior of web applications and potentially exploit vulnerabilities.

This vulnerability can lead to various security issues, including cross-site scripting (XSS) attacks, cache poisoning, and session hijacking, compromising the security and integrity of web applications.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

You can find more information about Debian LTS security advisories, including how to apply updates and frequently asked questions, at https://wiki.debian.org/LTS.

Related vulnerabilities

Recent vulnerabilities recorded for python-bottle.

How To Fix

Minimum fixed version

0.10.11-1+deb7u2

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