ADVISORIES

openEuler Security Advisory

OESA-2023-1911

python-twisted security update

Details

Twisted is an event-based framework for internet applications, supporting Python 2.7 and Python 3.5+. It includes modules for many different purposes, including the following:

Security Fix(es):

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)

Affected packages

EcosystemPackageAffected versions
openEuler:22.03-LTS-SP2python-twisted
All versions before 22.4.0-2.oe2203sp2 (fixed in 22.4.0-2.oe2203sp2)

References