ADVISORIES

Vulnerability

CVE-2022-39348

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 into the 404 response allowing HTML and script injection. In practice this should be very difficult to exploit as being able to modify the Host header of a normal HTTP request implies that one is already in a privileged position. This issue was fixed in version 22.10.0rc1. There are no known workarounds.

21 advisories report this vulnerability, across 9 ecosystems.

Advisories

  • ALAS2-2023-2008

    Amazon Linux 2 2017.12 - ALAS2-2023-2008: medium priority package update for python-twisted-web

    Medium CVE-2022-39348 Amazon Linux Updated 4 April 2023
  • ALAS2023-2023-130

    Amazon Linux 2023 - ALAS2023-2023-130: Medium priority package update for python-twisted

    Medium CVE-2022-39348 Amazon Linux Updated 14 March 2023
  • AZL-11357

    CVE-2022-39348 affecting package python-twisted for versions less than 22.10.0-2

    CVE-2022-39348 Azure Linux Updated 21 April 2026
  • DEBIAN-CVE-2022-39348

    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…

    CVE-2022-39348 Debian Updated 20 November 2026
  • DLA-3212-1

    twisted - security update

    CVE-2022-39348 Debian Updated 20 November 2026
  • DLA-3970-1

    twisted - security update

    CVE-2022-39348CVE-2023-46137CVE-2024-41671CVE-2024-41810 Debian Updated 20 November 2026
  • GHSA-vg46-2rrj-3647

    Twisted vulnerable to NameVirtualHost Host header injection

    Moderate CVE-2022-39348 PyPI Updated 7 July 2026
  • OESA-2023-1908

    python-twisted security update

    High CVE-2022-21712CVE-2022-21716CVE-2022-24801CVE-2022-39348 openEuler Updated 18 August 2026
  • OESA-2023-1909

    python-twisted security update

    High CVE-2022-21712CVE-2022-21716CVE-2022-24801CVE-2022-39348 openEuler Updated 18 August 2026
  • OESA-2023-1910

    python-twisted security update

    Medium CVE-2022-39348 openEuler Updated 18 August 2026
  • OESA-2023-1911

    python-twisted security update

    Medium CVE-2022-39348 openEuler Updated 18 August 2026
  • OESA-2023-1970

    python-twisted security update

    High CVE-2022-21712CVE-2022-21716CVE-2022-24801CVE-2022-39348 openEuler Updated 18 August 2026
  • PYSEC-2026-1055

    Twisted vulnerable to NameVirtualHost Host header injection

    CVE-2022-39348 PyPI Updated 7 July 2026
  • RHVEX-CVE-2022-39348

    python-twisted: NameVirtualHost Host header injection

    Low CVE-2022-39348 Red Hat Updated 7 November 2026
  • SUSE-SU-2022:4000-1

    Security update for python-Twisted

    CVE-2022-39348 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4057-1

    Security update for python-Twisted

    CVE-2022-39348 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4074-1

    Security update for python-Twisted

    CVE-2019-12387CVE-2020-10108CVE-2022-21712CVE-2022-39348 SUSE Updated 4 February 2026
  • SUSEVEX-CVE-2022-39348

    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…

    Low CVE-2022-39348 SUSE Updated 1 November 2026
  • UBUNTU-CVE-2022-39348

    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…

    CVE-2022-39348 Ubuntu Updated 4 February 2026
  • USN-6575-1

    twisted vulnerabilities

    CVE-2022-39348CVE-2023-46137 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2024:12474-1

    python-Twisted-doc-22.10.0-1.1 on GA media

    CVE-2022-39348 openSUSE Updated 4 February 2026

References