p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости python-aiohttp · Страница 3

За последние 30 дней в python-aiohttp опубликовано уязвимостей: 7; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 52

  1. CVE-2024-52303

    Высокий · CVSS 8.7EPSS 0,59%Есть исправление

    aiohttp memory leak when middleware is enabled when requesting a resource with a non-allowed method

    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.

    • Обновитесь до 3.10.11-1
    Опубликовано Обновлено
  2. CVE-2024-42367

    Средний · CVSS 4.8EPSS 0,65%Есть исправление

    In aiohttp, compressed files as symlinks are not protected from path traversal

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch prior to version 3.10.2, static routes which contain files with compressed variants (`.gz` or `.br` extension) are vulnerable to path traversal outside the root directory if those variants are symbolic links. The server protects static routes from path traversal outside the root directory when `follow_symlinks=False` (default). It does this by resolving the requested URL to an absolute path and then checking that path relative to the root. However, these checks are not performed when looking for compressed variants in the `FileRespo

    • Обновитесь до 3.10.3-2
  3. CVE-2024-30251

    Высокий · CVSS 7.5EPSS 1,09%Есть исправление

    Denial of service when trying to parse malformed POST requests in aiohttp

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In affected versions an attacker can send a specially crafted POST (multipart/form-data) request. When the aiohttp server processes it, the server will enter an infinite loop and be unable to process any further requests. An attacker can stop the application from serving requests after sending a single request. This issue has been addressed in version 3.9.4. Users are advised to upgrade. Users unable to upgrade may manually apply a patch to their systems. Please see the linked GHSA for instructions.

    • Обновитесь до 3.9.5-1
  4. CVE-2024-27306

    Средний · CVSS 6.1EPSS 0,67%Есть исправление

    aiohttp vulnerable to XSS on index pages for static file handling

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected. Other users can disable `show_index` if unable to upgrade.

    • Обновитесь до 3.9.5-1
    Опубликовано Обновлено
  5. CVE-2024-23334

    Средний · CVSS 5.9EPSS 76,88%Публичный эксплойтЕсть исправление

    aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'follow_symlinks' is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present. Disabling follow_symlinks and us

    • Обновитесь до 3.9.5-1
    Опубликовано Обновлено
  6. CVE-2024-23829

    Средний · CVSS 6.5EPSS 1,03%Есть исправление

    aiohttp's HTTP parser (the python one, not llhttp) still overly lenient about separators

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Security-sensitive parts of the Python HTTP parser retained minor differences in allowable character sets, that must trigger error handling to robustly match frame boundaries of proxies in order to protect against injection of additional requests. Additionally, validation could trigger exceptions that were not handled consistently with processing of other malformed input. Being more lenient than internet standards require could, depending on deployment environment, assist in request smuggling. The unhandled exception could cause excessive resource consumption on

    • Обновитесь до 3.9.5-1
    Опубликовано Обновлено
  7. CVE-2023-49081

    Высокий · CVSS 7.2EPSS 0,88%Есть исправление

    aiohttp's ClientSession is vulnerable to CRLF injection via version

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation made it possible for an attacker to modify the HTTP request (e.g. to insert a new header) or create a new HTTP request if the attacker controls the HTTP version. The vulnerability only occurs if the attacker can control the HTTP version of the request. This issue has been patched in version 3.9.0.

    • Обновитесь до 3.9.1-1
  8. CVE-2023-49082

    Средний · CVSS 5.3EPSS 0,95%Есть исправление

    aiohttp's ClientSession is vulnerable to CRLF injection via method

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation makes it possible for an attacker to modify the HTTP request (e.g. insert a new header) or even create a new HTTP request if the attacker controls the HTTP method. The vulnerability occurs only if the attacker can control the HTTP method (GET, POST etc.) of the request. If the attacker can control the HTTP version of the request it will be able to modify the request (request smuggling). This issue has been patched in version 3.9.0.

    • Обновитесь до 3.9.1-1
  9. CVE-2023-47627

    Средний · CVSS 5.3EPSS 0,86%Есть исправление

    Request smuggling in aiohttp

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. The HTTP parser in AIOHTTP has numerous problems with header parsing, which could lead to request smuggling. This parser is only used when AIOHTTP_NO_EXTENSIONS is enabled (or not using a prebuilt wheel). These bugs have been addressed in commit `d5c12ba89` which has been included in release version 3.8.6. Users are advised to upgrade. There are no known workarounds for these issues.

    • Обновитесь до 3.8.6-1
    Опубликовано Обновлено
  10. CVE-2023-47641

    Низкий · CVSS 3.4EPSS 0,83%Есть исправление

    Inconsistent interpretation of `Content-Length` vs. `Transfer-Encoding` in aiohttp

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Affected versions of aiohttp have a security vulnerability regarding the inconsistent interpretation of the http protocol. HTTP/1.1 is a persistent protocol, if both Content-Length(CL) and Transfer-Encoding(TE) header values are present it can lead to incorrect interpretation of two entities that parse the HTTP and we can poison other sockets with this incorrect interpretation. A possible Proof-of-Concept (POC) would be a configuration with a reverse proxy(frontend) that accepts both CL and TE headers and aiohttp as backend. As aiohttp parses anything with chunked

    • Обновитесь до 3.8.1-1
    Опубликовано Обновлено
  11. CVE-2023-37276

    Средний · CVSS 5.3EPSS 1,34%Есть исправление

    aiohttp vulnerable to HTTP request smuggling

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. aiohttp v3.8.4 and earlier are bundled with llhttp v6.0.6. Vulnerable code is used by aiohttp for its HTTP request parser when available which is the default case when installing from a wheel. This vulnerability only affects users of aiohttp as an HTTP server (ie `aiohttp.Application`), you are not affected by this vulnerability if you are using aiohttp as an HTTP client library (ie `aiohttp.ClientSession`). Sending a crafted HTTP request will cause the server to misinterpret one of the HTTP header values leading to HTTP request smuggling. This issue has been addr

    • Обновитесь до 3.8.5-1
    Опубликовано Обновлено
  12. CVE-2021-21330

    Низкий · CVSS 3.1EPSS 1,91%Есть исправление

    Open redirect vulnerability in aiohttp

    aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In aiohttp before version 3.7.4 there is an open redirect vulnerability. A maliciously crafted link to an aiohttp-based web-server could redirect the browser to a different website. It is caused by a bug in the `aiohttp.web_middlewares.normalize_path_middleware` middleware. This security problem has been fixed in 3.7.4. Upgrade your dependency using pip as follows "pip install aiohttp >= 3.7.4". If upgrading is not an option for you, a workaround can be to avoid using `aiohttp.web_middlewares.normalize_path_middleware` in your applications.

    • Обновитесь до 3.7.4-1
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →