kleros / kleros-v2

Kleros version 2
https://v2.kleros.builders
MIT License
62 stars 44 forks source link

web3-7.5.0-py3-none-any.whl: 2 vulnerabilities (highest severity is: 5.5) - autoclosed #1745

Closed mend-bolt-for-github[bot] closed 6 days ago

mend-bolt-for-github[bot] commented 6 days ago
Vulnerable Library - web3-7.5.0-py3-none-any.whl

Path to dependency file: /bot-pinner/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20241106073733_XKOMRX/python_RWNJOY/202411060737371/env/lib/python3.8/site-packages/aiohttp-3.10.10.dist-info,/tmp/ws-ua_20241107061217_BZRVDW/python_QWTWRW/202411070612221/env/lib/python3.8/site-packages/aiohttp-3.10.10.dist-info

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (web3 version) Remediation Possible**
CVE-2024-52304 Medium 5.5 aiohttp-3.10.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Transitive N/A*
CVE-2024-52303 Medium 5.5 aiohttp-3.10.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-52304 ### Vulnerable Library - aiohttp-3.10.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Async http client/server framework (asyncio)

Library home page: https://files.pythonhosted.org/packages/3d/3d/734375ec31e3e238c67dae358991db6e3177207e07d09be90036974e46f9/aiohttp-3.10.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Path to dependency file: /bot-pinner/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20241106073733_XKOMRX/python_RWNJOY/202411060737371/env/lib/python3.8/site-packages/aiohttp-3.10.10.dist-info,/tmp/ws-ua_20241107061217_BZRVDW/python_QWTWRW/202411070612221/env/lib/python3.8/site-packages/aiohttp-3.10.10.dist-info

Dependency Hierarchy: - web3-7.5.0-py3-none-any.whl (Root Library) - :x: **aiohttp-3.10.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl** (Vulnerable Library)

Found in base branch: dev

### Vulnerability Details

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.10.11, the Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions. If a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or "AIOHTTP_NO_EXTENSIONS" is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections. Version 3.10.11 fixes the issue.

Publish Date: 2024-11-18

URL: CVE-2024-52304

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7pr

Release Date: 2024-11-18

Fix Resolution: aiohttp - 3.10.11

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2024-52303 ### Vulnerable Library - aiohttp-3.10.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Async http client/server framework (asyncio)

Library home page: https://files.pythonhosted.org/packages/3d/3d/734375ec31e3e238c67dae358991db6e3177207e07d09be90036974e46f9/aiohttp-3.10.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Path to dependency file: /bot-pinner/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20241106073733_XKOMRX/python_RWNJOY/202411060737371/env/lib/python3.8/site-packages/aiohttp-3.10.10.dist-info,/tmp/ws-ua_20241107061217_BZRVDW/python_QWTWRW/202411070612221/env/lib/python3.8/site-packages/aiohttp-3.10.10.dist-info

Dependency Hierarchy: - web3-7.5.0-py3-none-any.whl (Root Library) - :x: **aiohttp-3.10.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl** (Vulnerable Library)

Found in base branch: dev

### Vulnerability Details

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions starting with 3.10.6 and prior to 3.10.11, a memory leak can occur when a request produces a MatchInfoError. This was caused by adding an entry to a cache on each request, due to the building of each MatchInfoError producing a unique cache entry. An attacker may be able to exhaust the memory resources of a server by sending a substantial number (100,000s to millions) of such requests. Those who use any middlewares with aiohttp.web should upgrade to version 3.10.11 to receive a patch.

Publish Date: 2024-11-18

URL: CVE-2024-52303

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/aio-libs/aiohttp/security/advisories/GHSA-27mf-ghqm-j3j8

Release Date: 2024-11-18

Fix Resolution: aiohttp - 3.10.11

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 6 days ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.