Advisory

UBUNTU-CVE-2022-39348

Also known as: CVE-2022-39348

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2022-10-26 20:15 UTC
Modified
2026-02-04 04:27 UTC

Affected packages and fixes

twisted

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 18.9.0-11ubuntu0.20.04.3 (ecosystem)

Fixed versions

18.9.0-11ubuntu0.20.04.3

Fix

  • Fixed version 18.9.0-11ubuntu0.20.04.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

twisted

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 22.1.0-2ubuntu2.4 (ecosystem)

Fixed versions

22.1.0-2ubuntu2.4

Fix

  • Fixed version 22.1.0-2ubuntu2.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences