Advisory

UBUNTU-CVE-2024-42353

Also known as: CVE-2024-42353

Summary

The record has no summary.

Details

WebOb provides objects for HTTP requests and responses. When WebOb normalizes the HTTP Location header to include the request hostname, it does so by parsing the URL that the user is to be redirected to with Python's urlparse, and joining it to the base URL. urlparse however treats a // at the start of a string as a URI without a scheme, and then treats the next part as the hostname. urljoin will then use that hostname from the second part as the hostname replacing the original one from the request. This vulnerability is patched in WebOb version 1.8.8.

Severity

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

Dates

Published
2024-08-14 21:15 UTC
Modified
2026-09-16 14:11 UTC

Affected packages and fixes

python-webob

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1:1.8.5-2ubuntu0.1 (ecosystem)

Fixed versions

1:1.8.5-2ubuntu0.1

Fix

  • Fixed version 1:1.8.5-2ubuntu0.1
    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.

python-webob

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:1.8.6-1.1ubuntu0.1 (ecosystem)

Fixed versions

1:1.8.6-1.1ubuntu0.1

Fix

  • Fixed version 1:1.8.6-1.1ubuntu0.1
    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.

python-webob

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1:1.8.7-1ubuntu0.1.24.04.1 (ecosystem)

Fixed versions

1:1.8.7-1ubuntu0.1.24.04.1

Fix

  • Fixed version 1:1.8.7-1ubuntu0.1.24.04.1
    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