CVE-2024-42353
published medium CVSS 3.1 · 6.1WebOb's location header normalization during redirect leads to open redirect
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Pylons | — | webob<= 1.8.7 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2726 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | py3-webob | Fixed | 1.8.10-r0 | Package fix record |
| SUSE / openSUSE | SLE-12 | python-WebObnoarch | Advisory build | 1.2.3-3.3.1 | SUSE-SU-2024:2969-1 |
| Ubuntu | bionic | python-webob | Advisory build | 1:1.7.3-2ubuntu0.1~esm2 | USN-8759-1 |
| Amazon Linux | AL2 | python-webobnoarch | Listed in advisory | Not stated | ALAS2-2025-2726 |
| SUSE / openSUSE | SLE-12-SP3 | python-WebObnoarch | Advisory build | 1.2.3-3.3.1 | SUSE-SU-2024:2969-1 |
| SUSE / openSUSE | SLE-12-SP4 | python-WebObnoarch | Advisory build | 1.2.3-3.3.1 | SUSE-SU-2024:2969-1 |
Show 34 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | python-WebObnoarch | Advisory build | 1.2.3-3.3.1 | SUSE-SU-2024:2969-1 |
| SUSE / openSUSE | SLE-15-SP5 | python2-WebObnoarch | Advisory build | 1.7.4-150000.3.3.1 | SUSE-SU-2024:3116-1 |
| SUSE / openSUSE | SLE-15-SP5 | python3-WebObnoarch | Advisory build | 1.7.4-150000.3.3.1 | SUSE-SU-2024:3116-1 |
| SUSE / openSUSE | SLE-15-SP6 | python2-WebObnoarch | Advisory build | 1.7.4-150000.3.3.1 | SUSE-SU-2024:3116-1 |
| SUSE / openSUSE | SLE-15-SP6 | python3-WebObnoarch | Advisory build | 1.7.4-150000.3.3.1 | SUSE-SU-2024:3116-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python-WebOb-docnoarch | Advisory build | 1.7.4-150000.3.3.1 | SUSE-SU-2024:3116-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-WebObnoarch | Advisory build | 1.7.4-150000.3.3.1 | SUSE-SU-2024:3116-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-WebObnoarch | Advisory build | 1.8.7-150400.11.6.1 | SUSE-SU-2024:2970-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-WebOb-docaarch64 | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-WebOb-docppc64le | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-WebOb-docs390x | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python-WebOb-docx86_64 | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-WebObaarch64 | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-WebObppc64le | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-WebObs390x | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-WebObx86_64 | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-WebObaarch64 | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-WebObppc64le | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-WebObs390x | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-WebObx86_64 | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-WebObaarch64 | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-WebObppc64le | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-WebObs390x | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-WebObx86_64 | Advisory build | 1.8.8-1.1 | OPENSUSE-SU-2024:14279-1 |
| Ubuntu | bionic | python3-webob | Advisory build | 1:1.7.3-2ubuntu0.1~esm2 | USN-8759-1 |
| Ubuntu | focal | python-webob | Advisory build | 1:1.8.5-2ubuntu0.1 | USN-6984-1 |
| Ubuntu | focal | python3-webob | Advisory build | 1:1.8.5-2ubuntu0.1 | USN-6984-1 |
| Ubuntu | jammy | python-webob | Advisory build | 1:1.8.6-1.1ubuntu0.1 | USN-6984-1 |
| Ubuntu | jammy | python3-webob | Advisory build | 1:1.8.6-1.1ubuntu0.1 | USN-6984-1 |
| Ubuntu | noble | python-webob | Advisory build | 1:1.8.7-1ubuntu0.1.24.04.1 | USN-6984-1 |
| Ubuntu | noble | python3-webob | Advisory build | 1:1.8.7-1ubuntu0.1.24.04.1 | USN-6984-1 |
| Ubuntu | xenial | python-webob | Advisory build | 1.5.1-1ubuntu0.1~esm2 | USN-8759-1 |
| Ubuntu | xenial | python3-webob | Advisory build | 1.5.1-1ubuntu0.1~esm2 | USN-8759-1 |
| Amazon Linux | AL2 | python-webobsrc | Listed in advisory | Not stated | ALAS2-2025-2726 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Pylons | webob | <= 1.8.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
References
2Provider assertions
2GitHub_M · cna
WebOb's location header normalization during redirect leads to open redirect
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- db0165afd192627d253224df96b09f824ad489aef2a4a063f4163076cc974c27
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record