p PatchFirst

CVE-2024-42353

CVE-2024-42353 · WebOb's location header normalization during redirect leads to open redirect

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.1 · Medium · EPSS 0.6% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • webob

    Versions
    • <= 1.8.7: Affected

    No fix published

  • python-webob Debian:12

    Versions
    • 1:1.8.10-1
    • 1:1.8.6-3
    • 1:1.8.7-1
    • 1:1.8.7-2
    • 1:1.8.7-3
    • 1:1.8.9-1
    • 1:1.8.9-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • python-webob Debian:13

    Affected ranges
    • ECOSYSTEM: < 1:1.8.9-1

    Update to 1:1.8.9-1

  • python-webob Debian:14

    Affected ranges
    • ECOSYSTEM: < 1:1.8.9-1

    Update to 1:1.8.9-1

  • webob PyPI

    Versions
    • 0.8
    • 0.8.1
    • 0.8.2
    • 0.8.3
    • 0.8.4
    • 0.8.5
    • 0.9
    • 0.9.1
    • 0.9.2
    • 0.9.3
    • 0.9.4
    • 0.9.5
    • 0.9.6
    • 0.9.6.1
    • 0.9.7
    • 0.9.7.1
    • 0.9.8
    • 1.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    • 1.0.6
    • 1.0.7
    • 1.0.8
    • 1.1
    • 1.1.1
    • 1.1b2
    • 1.1beta1
    • 1.1rc1
    • 1.2
    • 1.2.1
    • 1.2.2
    • 1.2.3
    • 1.2b1
    • 1.2b2
    • 1.2b3
    • 1.2rc1
    • 1.3
    • 1.3.1
    • 1.4
    • 1.4.1
    • 1.4.2
    • 1.5.0
    • 1.5.0a0
    • 1.5.0a1
    • 1.5.0b0
    • 1.5.1
    • 1.6.0
    • 1.6.0a0
    • 1.6.1
    • 1.6.2
    • 1.6.3
    • 1.6.4
    • 1.7.0
    • 1.7.0rc1
    • 1.7.0rc2
    • 1.7.1
    • 1.7.2
    • 1.7.3
    • 1.7.4
    • 1.8.0
    • 1.8.0rc1
    • 1.8.1
    • 1.8.2
    • 1.8.3
    • 1.8.4
    • 1.8.5
    • 1.8.6
    • 1.8.7
    Affected ranges
    • ECOSYSTEM: < 1.8.8

    Update to 1.8.8

  • webob PyPI

    Versions
    • 0.8
    • 0.8.1
    • 0.8.2
    • 0.8.3
    • 0.8.4
    • 0.8.5
    • 0.9
    • 0.9.1
    • 0.9.2
    • 0.9.3
    • 0.9.4
    • 0.9.5
    • 0.9.6
    • 0.9.6.1
    • 0.9.7
    • 0.9.7.1
    • 0.9.8
    • 1.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    • 1.0.6
    • 1.0.7
    • 1.0.8
    • 1.1
    • 1.1.1
    • 1.1b2
    • 1.1beta1
    • 1.1rc1
    • 1.2
    • 1.2.1
    • 1.2.2
    • 1.2.3
    • 1.2b1
    • 1.2b2
    • 1.2b3
    • 1.2rc1
    • 1.3
    • 1.3.1
    • 1.4
    • 1.4.1
    • 1.4.2
    • 1.5.0
    • 1.5.0a0
    • 1.5.0a1
    • 1.5.0b0
    • 1.5.1
    • 1.6.0
    • 1.6.0a0
    • 1.6.1
    • 1.6.2
    • 1.6.3
    • 1.6.4
    • 1.7.0
    • 1.7.0rc1
    • 1.7.0rc2
    • 1.7.1
    • 1.7.2
    • 1.7.3
    • 1.7.4
    • 1.8.0
    • 1.8.0rc1
    • 1.8.1
    • 1.8.2
    • 1.8.3
    • 1.8.4
    • 1.8.5
    • 1.8.6
    • 1.8.7
    Affected ranges
    • GIT: < f689bcf4f0a1f64f1735b1d5069aef5be6974b5b
    • ECOSYSTEM: < 1.8.8

    Update to 1.8.8

  • python-webob Ubuntu:Pro:16.04:LTS

    Versions
    • 1.4.1-1
    • 1.5.1-1
    Affected ranges
    • ECOSYSTEM: < 1.5.1-1ubuntu0.1~esm2

    Update to 1.5.1-1ubuntu0.1~esm2

  • python-webob Ubuntu:Pro:18.04:LTS

    Versions
    • 1:1.7.2-0ubuntu1
    • 1:1.7.3-0ubuntu1
    • 1:1.7.3-2fakesync1
    Affected ranges
    • ECOSYSTEM: < 1:1.7.3-2ubuntu0.1~esm2

    Update to 1:1.7.3-2ubuntu0.1~esm2

  • python-webob Ubuntu:20.04:LTS

    Versions
    • 1:1.8.5-1
    • 1:1.8.5-1build1
    • 1:1.8.5-2
    Affected ranges
    • ECOSYSTEM: < 1:1.8.5-2ubuntu0.1

    Update to 1:1.8.5-2ubuntu0.1

  • python-webob Ubuntu:22.04:LTS

    Versions
    • 1:1.8.6-1.1
    Affected ranges
    • ECOSYSTEM: < 1:1.8.6-1.1ubuntu0.1

    Update to 1:1.8.6-1.1ubuntu0.1

  • python-webob Ubuntu:24.04:LTS

    Versions
    • 1:1.8.6-3
    • 1:1.8.7-1
    Affected ranges
    • ECOSYSTEM: < 1:1.8.7-1ubuntu0.1.24.04.1

    Update to 1:1.8.7-1ubuntu0.1.24.04.1

Original sources

Check your server →