Vulnerability in python-tornado - security update

python-tornado Updated 02 Oct 2025

Summary

15/05/2016
N/A
Yes i
Unrated
Not published

DLA-475-1: python-tornado - security update. Affects python-tornado versions < 2.3-2+deb7u1. Fixed in 2.3-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

python-tornado is a Python web framework and asynchronous networking library. It provides a way to build web applications that can handle high levels of traffic and concurrency. However, it was discovered that python-tornado is susceptible to the BREACH attack. This attack allows an attacker to extract sensitive information by exploiting the compression of encrypted data. In the case of python-tornado, the XSRF token was vulnerable to this attack. To mitigate this vulnerability, the XSRF token is now encoded with a random mask on each request, making it safe to include in compressed pages.

Vulnerability Detail

The vulnerability in python-tornado arises from the use of a predictable XSRF token. This token is used to protect against cross-site request forgery (XSRF) attacks by ensuring that requests originate from the same site. However, an attacker can exploit the BREACH attack to extract the XSRF token and use it to forge requests. By encoding the XSRF token with a random mask on each request, python-tornado prevents the token from being vulnerable to the BREACH attack.

How To Fix

Minimum fixed version

2.3-2+deb7u1

This is the first release that contains the fix.

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

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

Conclusion

In conclusion, the vulnerability in python-tornado has been addressed by encoding the XSRF token with a random mask on each request. It is recommended to upgrade your python-tornado packages to the fixed version to mitigate the vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for python-tornado →

Share this vulnerability

FAQ

python-tornado is a Python web framework and asynchronous networking library.

The BREACH attack is a security vulnerability that allows an attacker to extract sensitive information by exploiting the compression of encrypted data.

An XSRF token is a security measure used to protect against cross-site request forgery (XSRF) attacks by ensuring that requests originate from the same site.

The vulnerability in python-tornado could allow an attacker to extract the XSRF token and use it to forge requests, potentially leading to unauthorized actions on behalf of the user.

To fix the vulnerability, you should upgrade your python-tornado packages to version 2.3-2+deb7u1 or later.

Related vulnerabilities

Recent vulnerabilities recorded for python-tornado.

How To Fix

Minimum fixed version

2.3-2+deb7u1

This is the first release that contains the fix.

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

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