Skip to content

CVE-2022-39348 Twisted vulnerable to NameVirtualHost Host header injection

MediumCVSS 5.4 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
pypi twisted(PyPI) >= 0.9.4, < 22.10.0rc1 22.10.0rc1
pypi twisted(PyPI) = 1.0.1 No fix listed
pypi twisted(PyPI) = 1.0.3 No fix listed
pypi twisted(PyPI) = 1.0.4 No fix listed
pypi twisted(PyPI) = 1.0.5 No fix listed
pypi twisted(PyPI) = 1.0.6 No fix listed
pypi twisted(PyPI) = 1.0.7 No fix listed
pypi twisted(PyPI) = 1.1.0 No fix listed
pypi twisted(PyPI) = 1.1.1 No fix listed
pypi twisted(PyPI) = 1.2.0 No fix listed
pypi twisted(PyPI) = 10.0.0 No fix listed
pypi twisted(PyPI) = 10.1.0 No fix listed
pypi twisted(PyPI) = 10.2.0 No fix listed
pypi twisted(PyPI) = 11.0.0 No fix listed
pypi twisted(PyPI) = 11.1.0 No fix listed
pypi twisted(PyPI) = 12.0.0 No fix listed
pypi twisted(PyPI) = 12.1.0 No fix listed
pypi twisted(PyPI) = 12.2.0 No fix listed
pypi twisted(PyPI) = 12.3.0 No fix listed
pypi twisted(PyPI) = 13.0.0 No fix listed
pypi twisted(PyPI) = 13.1.0 No fix listed
pypi twisted(PyPI) = 13.2.0 No fix listed
pypi twisted(PyPI) = 14.0.0 No fix listed
pypi twisted(PyPI) = 14.0.1 No fix listed
pypi twisted(PyPI) = 14.0.2 No fix listed
Show 74 more
ProductAffected versionsFixed in
pypi twisted(PyPI) = 15.0.0 No fix listed
pypi twisted(PyPI) = 15.1.0 No fix listed
pypi twisted(PyPI) = 15.2.0 No fix listed
pypi twisted(PyPI) = 15.2.1 No fix listed
pypi twisted(PyPI) = 15.3.0 No fix listed
pypi twisted(PyPI) = 15.4.0 No fix listed
pypi twisted(PyPI) = 15.5.0 No fix listed
pypi twisted(PyPI) = 16.0.0 No fix listed
pypi twisted(PyPI) = 16.1.0 No fix listed
pypi twisted(PyPI) = 16.1.1 No fix listed
pypi twisted(PyPI) = 16.2.0 No fix listed
pypi twisted(PyPI) = 16.3.0 No fix listed
pypi twisted(PyPI) = 16.3.1 No fix listed
pypi twisted(PyPI) = 16.3.2 No fix listed
pypi twisted(PyPI) = 16.4.0 No fix listed
pypi twisted(PyPI) = 16.4.1 No fix listed
pypi twisted(PyPI) = 16.5.0 No fix listed
pypi twisted(PyPI) = 16.5.0rc1 No fix listed
pypi twisted(PyPI) = 16.5.0rc2 No fix listed
pypi twisted(PyPI) = 16.6.0 No fix listed
pypi twisted(PyPI) = 16.6.0rc1 No fix listed
pypi twisted(PyPI) = 16.7.0rc1 No fix listed
pypi twisted(PyPI) = 16.7.0rc2 No fix listed
pypi twisted(PyPI) = 17.1.0 No fix listed
pypi twisted(PyPI) = 17.1.0rc1 No fix listed
pypi twisted(PyPI) = 17.5.0 No fix listed
pypi twisted(PyPI) = 17.9.0 No fix listed
pypi twisted(PyPI) = 17.9.0rc1 No fix listed
pypi twisted(PyPI) = 18.4.0 No fix listed
pypi twisted(PyPI) = 18.4.0rc1 No fix listed
pypi twisted(PyPI) = 18.7.0 No fix listed
pypi twisted(PyPI) = 18.7.0rc1 No fix listed
pypi twisted(PyPI) = 18.7.0rc2 No fix listed
pypi twisted(PyPI) = 18.9.0 No fix listed
pypi twisted(PyPI) = 18.9.0rc1 No fix listed
pypi twisted(PyPI) = 19.10.0 No fix listed
pypi twisted(PyPI) = 19.10.0rc1 No fix listed
pypi twisted(PyPI) = 19.2.0 No fix listed
pypi twisted(PyPI) = 19.2.0rc1 No fix listed
pypi twisted(PyPI) = 19.2.0rc2 No fix listed
pypi twisted(PyPI) = 19.2.1 No fix listed
pypi twisted(PyPI) = 19.7.0 No fix listed
pypi twisted(PyPI) = 19.7.0rc1 No fix listed
pypi twisted(PyPI) = 2.1.0 No fix listed
pypi twisted(PyPI) = 2.4.0 No fix listed
pypi twisted(PyPI) = 2.5.0 No fix listed
pypi twisted(PyPI) = 20.3.0 No fix listed
pypi twisted(PyPI) = 20.3.0rc1 No fix listed
pypi twisted(PyPI) = 21.2.0 No fix listed
pypi twisted(PyPI) = 21.2.0rc1 No fix listed
pypi twisted(PyPI) = 21.7.0 No fix listed
pypi twisted(PyPI) = 21.7.0rc1 No fix listed
pypi twisted(PyPI) = 21.7.0rc2 No fix listed
pypi twisted(PyPI) = 21.7.0rc3 No fix listed
pypi twisted(PyPI) = 22.1.0 No fix listed
pypi twisted(PyPI) = 22.1.0rc1 No fix listed
pypi twisted(PyPI) = 22.2.0 No fix listed
pypi twisted(PyPI) = 22.2.0rc1 No fix listed
pypi twisted(PyPI) = 22.4.0 No fix listed
pypi twisted(PyPI) = 22.4.0rc1 No fix listed
pypi twisted(PyPI) = 22.8.0 No fix listed
pypi twisted(PyPI) = 22.8.0rc1 No fix listed
pypi twisted(PyPI) = 8.0.0 No fix listed
pypi twisted(PyPI) = 8.0.1 No fix listed
pypi twisted(PyPI) = 8.1.0 No fix listed
pypi twisted(PyPI) = 8.2.0 No fix listed
pypi twisted(PyPI) = 9.0.0 No fix listed
debian/twisted(Debian:12) < 22.4.0-4 22.4.0-4
debian/twisted(Debian:13) < 22.4.0-4 22.4.0-4
debian/twisted(Debian:14) < 22.4.0-4 22.4.0-4
twisted = >= 0.9.4, < 22.10.0rc1 No fix listed
ubuntu/twisted(Ubuntu:22.04) < 22.1.0-2ubuntu2.4 22.1.0-2ubuntu2.4
twisted >= 0.9.4, < 22.10.0 22.10.0
debian linux = 10.0 No fix listed

References