QID 355240

Date Published: 2023-05-29

QID 355240: Amazon Linux Security Advisory for python-twisted : ALAS2023-2023-130

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: ALAS2023-2023-130 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355240

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-130 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-130.html