CVE-2014-9720: Tornado Tornado XSRF Cookie Allows Side-channel Vulnerability
HIGHCVE-2014-9720 is a HIGH (CVSS 6.5) tornado xsrf cookie allows side-channel vulnerability (CWE-203: Observable Discrepancy) affecting Tornado libraries in the PyPI ecosystem. The issue involves tornado xsrf cookie allows side-channel attack against tls (breach attack). Remediation is available by upgrading affected packages to version 3.2.2.
CVE-2014-9720 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2014-9720
To remediate this vulnerability, upgrade all affected Tornado dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install tornado>=3.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show tornado
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2014-9720, inspect your installed packages using pip:
pip show tornado
Analyze the terminal output to locate any version of Tornado in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.2), your application is affected.
Note: The pip show tornado command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Tornado, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2014-9720 Affected Tornado Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tornado
|
PyPI |
< 3.2.2
|
3.2.2
|
References
Frequently Asked Questions
What is CVE-2014-9720?
Which Tornado versions are affected?
What version fixes CVE-2014-9720?
Is tornado affected?
What is the CVSS score of CVE-2014-9720?
What CWE is associated with CVE-2014-9720?
How can I check PyPI dependencies for CVE-2014-9720?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8vpw-mgpf-mpvv",
"modified" : "2024-11-13T22:52:57Z",
"published" : "2022-05-17T19:57:19Z",
"aliases" : [ "CVE-2014-9720" ],
"summary" : "Tornado XSRF cookie allows side-channel attack against TLS (BREACH attack)",
"details" : "Tornado before 3.2.2 sends arbitrary responses that contain a fixed CSRF token and may be sent with HTTP compression, which makes it easier for remote attackers to conduct a BREACH attack and determine this token via a series of crafted requests.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "tornado"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-9720"
}, {
"type" : "WEB",
"url" : "https://github.com/tornadoweb/tornado/commit/1c36307463b1e8affae100bf9386948e6c1b2308"
}, {
"type" : "WEB",
"url" : "https://bugzilla.novell.com/show_bug.cgi?id=930362"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1222816"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2020-213.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tornadoweb/tornado"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2015/05/19/4"
}, {
"type" : "WEB",
"url" : "http://www.tornadoweb.org/en/stable/releases/v3.2.2.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-203" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-01T20:53:42Z",
"nvd_published_at" : "2020-01-24T18:15:00Z"
}
}