{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-39348","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","dateUpdated":"2025-11-03T21:46:32.067Z","dateReserved":"2022-09-02T00:00:00.000Z","datePublished":"2022-10-26T00:00:00.000Z"},"containers":{"cna":{"title":"Twisted vulnerable to NameVirtualHost Host header injection","providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-01-11T00:00:00.000Z"},"descriptions":[{"lang":"en","value":"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":[{"vendor":"twisted","product":"twisted","versions":[{"version":">= 0.9.4, < 22.10.0rc1","status":"affected"}]}],"references":[{"url":"https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647"},{"url":"https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b"},{"url":"https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4"},{"name":"[debian-lts-announce] 20221128 [SECURITY] [DLA 3212-1] twisted security update","tags":["mailing-list"],"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html"},{"name":"GLSA-202301-02","tags":["vendor-advisory"],"url":"https://security.gentoo.org/glsa/202301-02"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","cweId":"CWE-80"}]},{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79"}]}],"source":{"advisory":"GHSA-vg46-2rrj-3647","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/twisted/twisted/security/advisories/GHSA-vg46-2rrj-3647","tags":["x_transferred"]},{"url":"https://github.com/twisted/twisted/commit/f2f5e81c03f14e253e85fe457e646130780db40b","tags":["x_transferred"]},{"url":"https://github.com/twisted/twisted/commit/f49041bb67792506d85aeda9cf6157e92f8048f4","tags":["x_transferred"]},{"name":"[debian-lts-announce] 20221128 [SECURITY] [DLA 3212-1] twisted security update","tags":["mailing-list","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00038.html"},{"name":"GLSA-202301-02","tags":["vendor-advisory","x_transferred"],"url":"https://security.gentoo.org/glsa/202301-02"},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00028.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T21:46:32.067Z"}},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:43:19.537134Z","id":"CVE-2022-39348","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-22T17:17:07.963Z"}}]}}