QID 354855

Date Published: 2023-04-06

QID 354855: Amazon Linux Security Advisory for python-twisted-web : ALAS2-2023-2008

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. (
( CVE-2022-39348)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 5.4 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2008 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354855

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2008 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2008.html