<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T08:11:04.463339+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-61541</id>
    <title>fkie_cve-2026-61541</title>
    <updated>2026-10-02T08:11:05.382947+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Zapros, a Python HTTP client, prior to version 0.14.0 is vulnerable to denial of service when an application requests content from an untrusted server, or follows a redirect to one, because a malicious response containing an excessive number of chained `Content-Encoding` values causes Zapros to construct a deeply nested decompression chain that consumes excessive resources. Version 0.14.0 patches the vulnerability by limiting responses to five content-encoding layers and raising `DecodingError` when that limit is exceeded. As a workaround, applications can add response middleware that inspects the `Content-Encoding` header and rejects responses containing more than a safe number of encoding layers.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-61541"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-5vjj-2r48-q622</id>
    <title>GHSA-5vjj-2r48-q622 — Zapros has an Unbounded Content-Encoding decompression chain that allows denial of service</title>
    <updated>2026-10-02T08:11:05.383037+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: zapros</p>
<p>### Impact</p>
<p>**Who is impacted**:
  - Any application using Zapros to make HTTP requests to untrusted servers
  - Applications that follow redirects to attacker-controlled hosts</p>
<p>**Attack vector**:
  - A malicious HTTP server returns a response with many chained content encodings. When the client attempts to decode, it creates a deeply nested decompression chain consuming excessive resources.</p>
<p>### Patches</p>
<p>Fixed in version 0.14.0.</p>
<p>The fix adds a hardcoded limit of **5** `Content-Encoding` layers. Responses exceeding this limit raise `DecodingError`.</p>
<p>### Workarounds</p>
<p>Add middleware that checks for a malicious Content-Encoding header.</p>
<p>```python
from typing import cast</p>
<p>from zapros import (
    AsyncBaseHandler,
    AsyncBaseMiddleware,
    BaseHandler,
    BaseMiddleware,
    Client,
    DecodingError,
    Request,
    Response,
)</p>
<p>MAX_DECODE_LAYERS = 5</p>
<p>class ContentEncodingCheckMiddleware(BaseMiddleware, AsyncBaseMiddleware):
    def __init__(
        self,
        next_handler: BaseHandler | AsyncBaseHandler,
        *,
        max_layers: int = MAX_DECODE_LAYERS,
    ) -&gt; None:
        self.next = cast(BaseHandler, next_handler)
        self.async_next = cast(AsyncBaseHandler, next_handler)
        self._max_layers = max_layers</p>
<p>def _check(self, response: Response) -&gt; None:
        encoding_header = response.headers.get("Content-Encoding")
        if not encoding_header:
            return</p>
<p>layers = [enc.strip().lower() for enc in encoding_header.split(","…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-5vjj-2r48-q622"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-4181</id>
    <title>PYSEC-2026-4181 — Zapros has an Unbounded Content-Encoding decompression chain that allows denial of service</title>
    <updated>2026-10-02T08:11:05.383142+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: zapros</p>
<p>### Impact</p>
<p>**Who is impacted**:
  - Any application using Zapros to make HTTP requests to untrusted servers
  - Applications that follow redirects to attacker-controlled hosts</p>
<p>**Attack vector**:
  - A malicious HTTP server returns a response with many chained content encodings. When the client attempts to decode, it creates a deeply nested decompression chain consuming excessive resources.</p>
<p>### Patches</p>
<p>Fixed in version 0.14.0.</p>
<p>The fix adds a hardcoded limit of **5** `Content-Encoding` layers. Responses exceeding this limit raise `DecodingError`.</p>
<p>### Workarounds</p>
<p>Add middleware that checks for a malicious Content-Encoding header.</p>
<p>```python
from typing import cast</p>
<p>from zapros import (
    AsyncBaseHandler,
    AsyncBaseMiddleware,
    BaseHandler,
    BaseMiddleware,
    Client,
    DecodingError,
    Request,
    Response,
)</p>
<p>MAX_DECODE_LAYERS = 5</p>
<p>class ContentEncodingCheckMiddleware(BaseMiddleware, AsyncBaseMiddleware):
    def __init__(
        self,
        next_handler: BaseHandler | AsyncBaseHandler,
        *,
        max_layers: int = MAX_DECODE_LAYERS,
    ) -&gt; None:
        self.next = cast(BaseHandler, next_handler)
        self.async_next = cast(AsyncBaseHandler, next_handler)
        self._max_layers = max_layers</p>
<p>def _check(self, response: Response) -&gt; None:
        encoding_header = response.headers.get("Content-Encoding")
        if not encoding_header:
            return</p>
<p>layers = [enc.strip().lower() for enc in encoding_header.split(","…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-4181"/>
  </entry>
</feed>
