Critical TrustRoot Bypass in Twisted Package: CVE-2014-7143

twisted Updated 02 Oct 2025

Summary

12/11/2019
N/A
Yes i
High
7.5

CVE-2014-7143: Python Twisted 14.0 trustRoot is not respected in HTTP client. Affects twisted versions < 14.0.2-1. Fixed in 14.0.2-1. 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

Twisted is an event-driven networking engine written in Python, widely used for building networked applications. It provides a robust framework for handling various protocols and asynchronous programming. However, Twisted versions prior to 14.0.2-1 are vulnerable to a security issue where the trustRoot parameter is not properly respected in the HTTP client, potentially allowing unauthorized access to sensitive data.

Vulnerability Detail

The vulnerability identified as CVE-2014-7143 arises from the improper handling of the trustRoot parameter in Twisted's HTTP client. This flaw can be exploited by attackers to bypass security measures, leading to the exposure of sensitive information. The issue is rooted in the way Twisted validates SSL certificates, which could allow malicious entities to intercept or manipulate data during transmission. The CVSS score for this vulnerability is 7.5, indicating a high severity level.

How To Fix

Minimum fixed version

14.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade twisted

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

Workaround

If immediate upgrading is not feasible, a temporary workaround is to implement additional validation checks in your application to ensure that only trusted certificates are accepted. This may involve modifying the SSL context used in your HTTP client to enforce stricter validation rules.

Conclusion

CVE-2014-7143 represents a significant security risk for applications using the Twisted package prior to version 14.0.2-1. Users should prioritize upgrading their installations to protect against potential data breaches and unauthorized access. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.

See every vulnerability recorded for twisted →

Share this vulnerability

FAQ

CVE-2014-7143 is a vulnerability in the Twisted package that allows the HTTP client to bypass the trustRoot parameter, potentially exposing sensitive data.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized access to sensitive information, data interception, and potential manipulation of data during transmission.

Users are strongly advised to upgrade to Twisted version 14.0.2-1 or later to mitigate the risk associated with this vulnerability.

Yes, Vulert provides a service that monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for twisted.

How To Fix

Minimum fixed version

14.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade twisted

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