Skip to content
OpenAdvisories
Medium USN-6575-1 2 CVEs

twisted vulnerabilities

Published Jan 10, 2024 · Updated Apr 27, 2026

Summary

It was discovered that Twisted incorrectly escaped host headers in certain
404 responses. A remote attacker could possibly use this issue to perform
HTML and script injection attacks. This issue only affected Ubuntu 20.04
LTS and Ubuntu 22.04 LTS. (CVE-2022-39348)

It was discovered that Twisted incorrectly handled response order when
processing multiple HTTP requests. A remote attacker could possibly use
this issue to delay responses and manipulate the responses of second
requests. (CVE-2023-46137)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS twisted 18.9.0-11ubuntu0.20.04.3
Ubuntu · 22.04 LTS 22.04:LTS twisted 22.1.0-2ubuntu2.4

Vulnerabilities 2

  • Medium 5.4

    Twisted vulnerable to NameVirtualHost Host header injection

    Twisted is an event-based framework for internet applications. Started with version 0.9.4, when the host header does not match a configured host `twisted.web.vhost.NameVirtualHost` will return a `NoResource` resource which renders the Host header unescaped in…

  • Medium 5.3

    twisted.web has disordered HTTP pipeline response

    Twisted is an event-based framework for internet applications. Prior to version 23.10.0rc1, when sending multiple HTTP requests in one TCP packet, twisted.web will process the requests asynchronously without guaranteeing the response order. If one of the endp…

References

  • report
    https://ubuntu.com/security/CVE-2022-39348
  • report
    https://ubuntu.com/security/CVE-2023-46137