Bug 1204781 - (CVE-2022-39348) VUL-0: CVE-2022-39348: python-Twisted: NameVirtualHost Host header injection
(CVE-2022-39348)
VUL-0: CVE-2022-39348: python-Twisted: NameVirtualHost Host header injection
Status: NEW
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Minor
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/346316/
CVSSv3.1:SUSE:CVE-2022-39348:3.7:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-10-27 07:22 UTC by Thomas Leroy
Modified: 2022-11-18 17:33 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Leroy 2022-10-27 07:22:49 UTC
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.

Upstream fix:
https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-39348
https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647
https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4
https://www.cve.org/CVERecord?id=CVE-2022-39348
https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b
Comment 1 Thomas Leroy 2022-10-27 07:26:52 UTC
All maintained packages affected:
- SUSE:SLE-12:Update
- SUSE:SLE-15-SP2:Update
- SUSE:SLE-15-SP4:Update
- openSUSE:Factory
Comment 2 OBSbugzilla Bot 2022-11-01 06:25:03 UTC
This is an autogenerated message for OBS integration:
This bug (1204781) was mentioned in
https://build.opensuse.org/request/show/1032605 Factory / python-Twisted
Comment 4 Swamp Workflow Management 2022-11-15 20:29:42 UTC
SUSE-SU-2022:4000-1: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1204781
CVE References: CVE-2022-39348
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    python-Twisted-22.2.0-150400.5.7.1
SUSE Linux Enterprise Module for Server Applications 15-SP4 (src):    python-Twisted-22.2.0-150400.5.7.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Swamp Workflow Management 2022-11-17 20:28:56 UTC
SUSE-SU-2022:4057-1: An update that fixes one vulnerability is now available.

Category: security (low)
Bug References: 1204781
CVE References: CVE-2022-39348
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    python-Twisted-19.10.0-150200.3.18.1
openSUSE Leap 15.3 (src):    python-Twisted-19.10.0-150200.3.18.1
SUSE Linux Enterprise Module for Server Applications 15-SP3 (src):    python-Twisted-19.10.0-150200.3.18.1
SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP3 (src):    python-Twisted-19.10.0-150200.3.18.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Swamp Workflow Management 2022-11-18 17:33:51 UTC
SUSE-SU-2022:4074-1: An update that fixes four vulnerabilities is now available.

Category: security (important)
Bug References: 1204781
CVE References: CVE-2019-12387,CVE-2020-10108,CVE-2022-21712,CVE-2022-39348
JIRA References: 
Sources used:
SUSE OpenStack Cloud Crowbar 9 (src):    python-Twisted-15.2.1-9.23.1
SUSE OpenStack Cloud Crowbar 8 (src):    python-Twisted-15.2.1-9.23.1
SUSE OpenStack Cloud 9 (src):    python-Twisted-15.2.1-9.23.1
SUSE OpenStack Cloud 8 (src):    python-Twisted-15.2.1-9.23.1
SUSE Linux Enterprise Module for Web Scripting 12 (src):    python-Twisted-15.2.1-9.23.1
HPE Helion Openstack 8 (src):    python-Twisted-15.2.1-9.23.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.