Allocation of Resources Without Limits or Throttling Affecting zapros package, versions [,0.14.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ZAPROS-20158931
  • published27 Sept 2026
  • disclosed23 Sept 2026
  • creditUnknown

Introduced: 23 Sep 2026

NewCVE-2026-61541  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade zapros to version 0.14.0 or higher.

Overview

zapros is a Modern and extensible HTTP client for Python.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via _get_content_decoder in src/zapros/_models.py, where an attacker can send an HTTP response with an unbounded number of Content-Encoding layers, causing the client to attempt to instantiate a decoder for each layer and exhaust resources. The fix enforces a hard limit of five decoding layers, raising a DecodingError when the limit is exceeded.

CVSS Base Scores

version 4.0
version 3.1