CVE-2024-42353

Medium

Description

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductPylonsproject Webob
PublishedAug 14, 2024
First seenAug 14, 2024

How to fix

Update
  • pylonsproject webob1.8.8 or later
  • webob1.8.8 or later

Affected products

ProductAffected versionsFixed in
pylonsproject webobv < 1.8.81.8.8
webobPyPIv < 1.8.81.8.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.