<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
	<DocumentTitle xml:lang="en">An update for python-webob is now available for openEuler-22.03-LTS-SP4,openEuler-24.03-LTS-SP1,openEuler-24.03-LTS-SP3,openEuler-20.03-LTS-SP4</DocumentTitle>
	<DocumentType>Security Advisory</DocumentType>
	<DocumentPublisher Type="Vendor">
		<ContactDetails>openeuler-security@openeuler.org</ContactDetails>
		<IssuingAuthority>openEuler security committee</IssuingAuthority>
	</DocumentPublisher>
	<DocumentTracking>
		<Identification>
			<ID>openEuler-SA-2026-2679</ID>
		</Identification>
		<Status>Final</Status>
		<Version>1.0</Version>
		<RevisionHistory>
			<Revision>
				<Number>1.0</Number>
				<Date>2026-06-12</Date>
				<Description>Initial</Description>
			</Revision>
		</RevisionHistory>
		<InitialReleaseDate>2026-06-12</InitialReleaseDate>
		<CurrentReleaseDate>2026-06-12</CurrentReleaseDate>
		<Generator>
			<Engine>openEuler SA Tool V1.0</Engine>
			<Date>2026-06-12</Date>
		</Generator>
	</DocumentTracking>
	<DocumentNotes>
		<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">python-webob security update</Note>
		<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for python-webob is now available for openEuler-22.03-LTS-SP4,openEuler-24.03-LTS-SP1,openEuler-24.03-LTS-SP3,openEuler-20.03-LTS-SP4</Note>
		<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">WebOb provides wrappers around the WSGI request environment, and an object to help create WSGI responses. The objects map much of the specified behavior of HTTP, including header parsing and accessors for other standard parts of the environment.

Security Fix(es):

### Impact

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&apos;s `urllib.parse`, and joining it to the base URL. `urlsplit` (called internally by `urljoin`) 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.

In a previous advisory https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3 an attempt to fix this was made by forcing the replacement of `//` with `/%2f`, however this did not take into account that since Python 3.10 `urlsplit` internally strips ASCII tab, carriage return, and newline characters from the string, so `/\t/attacker.com` gets turned into `//attacker.com` and the attacker is able to bypass the changes introduced in that previous advisory, thereby bringing back the problem that was attempted to be fixed.

```
&gt;&gt;&gt; parse.urlparse(&quot;//attacker.com/some/path&quot;)
ParseResult(scheme=&apos;&apos;, netloc=&apos;attacker.com&apos;, path=&apos;/some/path&apos;, params=&apos;&apos;, query=&apos;&apos;, fragment=&apos;&apos;)
```

WebOb uses `urljoin` to take the request URI and join the redirect location to it, so assuming the request URI is `https://example.org/` and the URL to redirect to is `/\t/attacker.com/some/path/`:

```
&gt;&gt;&gt; parse.urljoin(&quot;https://example.org/&quot;, &quot;/\t/attacker.com/some/path/&quot;)
&apos;https://attacker.com/some/path/&apos;
```

Which redirects from `example.org` where we want the user to stay to `attacker.com`.

### Patches

This issue has been fixed in WebOb 1.8.10.

### Workarounds

Any use of the `Response` class that includes a `location` can be rewritten to make sure to always pass a full URI that includes the hostname to redirect the user to, or to validate that the redirect target starts with a scheme (e.g. `http://` or `https://`) before assigning to `Response.location`.

### References

- https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3
- CVE-2024-42353

### Thanks

- Caleb Brown of Google(CVE-2026-44889)</Note>
		<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for python-webob is now available for openEuler-22.03-LTS-SP4,openEuler-24.03-LTS-SP1,openEuler-24.03-LTS-SP3,openEuler-20.03-LTS-SP4.

openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.</Note>
		<Note Title="Severity" Type="General" Ordinal="5" xml:lang="en">Medium</Note>
		<Note Title="Affected Component" Type="General" Ordinal="6" xml:lang="en">python-webob</Note>
	</DocumentNotes>
	<DocumentReferences>
		<Reference Type="Self">
			<URL>https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-2679</URL>
		</Reference>
		<Reference Type="openEuler CVE">
			<URL>https://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2026-44889</URL>
		</Reference>
		<Reference Type="Other">
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2026-44889</URL>
		</Reference>
	</DocumentReferences>
	<ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
		<Branch Type="Product Name" Name="openEuler">
			<FullProductName ProductID="openEuler-22.03-LTS-SP4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">openEuler-22.03-LTS-SP4</FullProductName>
			<FullProductName ProductID="openEuler-24.03-LTS-SP1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">openEuler-24.03-LTS-SP1</FullProductName>
			<FullProductName ProductID="openEuler-24.03-LTS-SP3" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP3">openEuler-24.03-LTS-SP3</FullProductName>
			<FullProductName ProductID="openEuler-20.03-LTS-SP4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">openEuler-20.03-LTS-SP4</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="src">
			<FullProductName ProductID="python-webob-1.8.7-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">python-webob-1.8.7-4.oe2203sp4.src.rpm</FullProductName>
			<FullProductName ProductID="python-webob-1.8.7-5" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">python-webob-1.8.7-5.oe2403sp1.src.rpm</FullProductName>
			<FullProductName ProductID="python-webob-1.8.7-5" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP3">python-webob-1.8.7-5.oe2403sp3.src.rpm</FullProductName>
			<FullProductName ProductID="python-webob-1.8.2-5" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">python-webob-1.8.2-5.oe2003sp4.src.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="noarch">
			<FullProductName ProductID="python3-webob-1.8.7-4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">python3-webob-1.8.7-4.oe2203sp4.noarch.rpm</FullProductName>
			<FullProductName ProductID="python3-webob-1.8.7-5" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">python3-webob-1.8.7-5.oe2403sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="python3-webob-1.8.7-5" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP3">python3-webob-1.8.7-5.oe2403sp3.noarch.rpm</FullProductName>
			<FullProductName ProductID="python2-webob-1.8.2-5" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">python2-webob-1.8.2-5.oe2003sp4.noarch.rpm</FullProductName>
			<FullProductName ProductID="python3-webob-1.8.2-5" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">python3-webob-1.8.2-5.oe2003sp4.noarch.rpm</FullProductName>
		</Branch>
	</ProductTree>
	<Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
		<Notes>
			<Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">### Impact

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&apos;s `urllib.parse`, and joining it to the base URL. `urlsplit` (called internally by `urljoin`) 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.

In a previous advisory https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3 an attempt to fix this was made by forcing the replacement of `//` with `/%2f`, however this did not take into account that since Python 3.10 `urlsplit` internally strips ASCII tab, carriage return, and newline characters from the string, so `/\t/attacker.com` gets turned into `//attacker.com` and the attacker is able to bypass the changes introduced in that previous advisory, thereby bringing back the problem that was attempted to be fixed.

```
&gt;&gt;&gt; parse.urlparse(&quot;//attacker.com/some/path&quot;)
ParseResult(scheme=&apos;&apos;, netloc=&apos;attacker.com&apos;, path=&apos;/some/path&apos;, params=&apos;&apos;, query=&apos;&apos;, fragment=&apos;&apos;)
```

WebOb uses `urljoin` to take the request URI and join the redirect location to it, so assuming the request URI is `https://example.org/` and the URL to redirect to is `/\t/attacker.com/some/path/`:

```
&gt;&gt;&gt; parse.urljoin(&quot;https://example.org/&quot;, &quot;/\t/attacker.com/some/path/&quot;)
&apos;https://attacker.com/some/path/&apos;
```

Which redirects from `example.org` where we want the user to stay to `attacker.com`.

### Patches

This issue has been fixed in WebOb 1.8.10.

### Workarounds

Any use of the `Response` class that includes a `location` can be rewritten to make sure to always pass a full URI that includes the hostname to redirect the user to, or to validate that the redirect target starts with a scheme (e.g. `http://` or `https://`) before assigning to `Response.location`.

### References

- https://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3
- CVE-2024-42353

### Thanks

- Caleb Brown of Google</Note>
		</Notes>
		<ReleaseDate>2026-06-12</ReleaseDate>
		<CVE>CVE-2026-44889</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-22.03-LTS-SP4</ProductID>
				<ProductID>openEuler-24.03-LTS-SP1</ProductID>
				<ProductID>openEuler-24.03-LTS-SP3</ProductID>
				<ProductID>openEuler-20.03-LTS-SP4</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Medium</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>6.1</BaseScore>
				<Vector>AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>python-webob security update</Description>
				<DATE>2026-06-12</DATE>
				<URL>https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-2679</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
</cvrfdoc>