---
title: 'USN-6988-1: Twisted vulnerabilities | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-6988-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-6988-1

---

# USN-6988-1: Twisted vulnerabilities

Publication date

4 September 2024

Overview

Several security issues were fixed in Twisted.

Releases

[24.04 LTS](https://ubuntu.com/security/notices?release=noble)
[22.04 LTS](https://ubuntu.com/security/notices?release=jammy)
[20.04 LTS](https://ubuntu.com/security/notices?release=focal)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)
[14.04 LTS](https://ubuntu.com/security/notices?release=trusty)

---

Open side navigation

## Packages

* [twisted](https://ubuntu.com/security/cves?package=twisted) - Event-based framework for internet applications

## Details

Ben Kallus discovered that Twisted incorrectly handled response order when
processing multiple HTTP requests. A remote attacker could possibly use
this issue to delay and manipulate responses.
This issue only affected Ubuntu 24.04 LTS. ([CVE-2024-41671](https://ubuntu.com/security/CVE-2024-41671))

It was discovered that Twisted did not properly sanitize certain input.
An attacker could use this vulnerability to possibly execute an HTML
injection leading to a cross-site scripting (XSS) attack.
([CVE-2024-41810](https://ubuntu.com/security/CVE-2024-41810))

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 24.04 LTS noble | [python3-twisted](https://launchpad.net/ubuntu/+source/twisted) –  [24.3.0-1ubuntu0.1](https://launchpad.net/ubuntu/+source/twisted/24.3.0-1ubuntu0.1) | | |
| 22.04 LTS jammy | [python3-twisted](https://launchpad.net/ubuntu/+source/twisted) –  [22.1.0-2ubuntu2.5](https://launchpad.net/ubuntu/+source/twisted/22.1.0-2ubuntu2.5) | | |
| 20.04 LTS focal | [python3-twisted](https://launchpad.net/ubuntu/+source/twisted) –  [18.9.0-11ubuntu0.20.04.4](https://launchpad.net/ubuntu/+source/twisted/18.9.0-11ubuntu0.20.04.4) | | |
| 18.04 LTS bionic | [python-twisted](https://launchpad.net/ubuntu/+source/twisted) –  17.9.0-2ubuntu0.3+esm1   Ubuntu Pro | | |
| [python3-twisted](https://launchpad.net/ubuntu/+source/twisted) –  17.9.0-2ubuntu0.3+esm1   Ubuntu Pro | | |
| 16.04 LTS xenial | [python-twisted](https://launchpad.net/ubuntu/+source/twisted) –  16.0.0-1ubuntu0.4+esm2   Ubuntu Pro | | |
| [python3-twisted](https://launchpad.net/ubuntu/+source/twisted) –  16.0.0-1ubuntu0.4+esm2   Ubuntu Pro | | |
| 14.04 LTS trusty | [python-twisted](https://launchpad.net/ubuntu/+source/twisted) –  13.2.0-1ubuntu1.2+esm3   Ubuntu Pro | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2024-41810](https://ubuntu.com/security/CVE-2024-41810)
* [CVE-2024-41671](https://ubuntu.com/security/CVE-2024-41671)

## Related notices

* [USN-6988-2](https://ubuntu.com/security/notices/USN-6988-2)
