Improper Input Validation Affecting aiohttp package, versions [,3.9.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.08% (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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AIOHTTP-6091621
  • published28 Nov 2023
  • disclosed27 Nov 2023
  • creditIvan Novikov

Introduced: 27 Nov 2023

CVE-2023-49082  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade aiohttp to version 3.9.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation via the ClientSession method. An attacker can modify the HTTP request or create a new HTTP request if they control the HTTP method.

Note: This is only exploitable if the attacker can control the HTTP method of the request.

Workaround

Perform manual validation of the user value (e.g. by restricting it to a few known values like GET, POST etc.).

CVSS Scores

version 3.1