CVE-2022-39348
CVSS V2 None
CVSS V3 Medium 5.4
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.
Overview
- CVE ID
- CVE-2022-39348
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-10-26T20:15:10
- Last Modified Date
- 2023-03-08T01:07:01
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:twistedmatrix:twisted:*:*:*:*:*:*:*:* | 1 | OR | 0.9.4 | 22.10.0 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 5.4
- Base Severity
- MEDIUM
- Exploitability Score
- 2.3
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b | Patch Third Party Advisory |
https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4 | Patch Third Party Advisory |
https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647 | Exploit Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html | |
https://security.gentoo.org/glsa/202301-02 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-39348 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39348 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-10-26 21:00:08 | Added to TrackCVE | |||
2022-12-07 12:52:59 | 2022-10-26T20:15Z | 2022-10-26T20:15:10 | CVE Published Date | updated |
2022-12-07 12:52:59 | 2022-11-28T18:15:12 | CVE Modified Date | updated | |
2022-12-07 12:52:59 | Undergoing Analysis | Vulnerability Status | updated | |
2022-12-07 12:53:33 | References | updated | ||
2023-01-11 07:16:39 | 2023-01-11T07:15:18 | CVE Modified Date | updated | |
2023-01-11 07:16:39 | References | updated | ||
2023-03-08 01:16:03 | 2023-03-08T01:07:01 | CVE Modified Date | updated | |
2023-03-08 01:16:03 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |