OESA-2023-1854 (CVE-2023-47641)

Vulnerability from osv_openeuler – Published: 2023-11-24 11:06 – Updated: 2026-08-06 11:06 – Source website
VLAI
Summary
python-aiohttp security update
Details

Async http client/server framework (asyncio).

Security Fix(es):

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, we can pass a chunked123 as TE, the frontend entity will ignore this header and will parse Content-Length. The impact of this vulnerability is that it is possible to bypass any proxy rule, poisoning sockets to other users like passing Authentication Headers, also if it is present an Open Redirect an attacker could combine it to redirect random users to another website and log the request. This vulnerability has been addressed in release 3.8.0 of aiohttp. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-47641)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-aiohttp-debuginfo-3.7.4-2.oe1.aarch64.rpm",
          "python3-aiohttp-3.7.4-2.oe1.aarch64.rpm",
          "python-aiohttp-help-3.7.4-2.oe1.aarch64.rpm",
          "python-aiohttp-debugsource-3.7.4-2.oe1.aarch64.rpm"
        ],
        "src": [
          "python-aiohttp-3.7.4-2.oe1.src.rpm"
        ],
        "x86_64": [
          "python-aiohttp-help-3.7.4-2.oe1.x86_64.rpm",
          "python-aiohttp-debugsource-3.7.4-2.oe1.x86_64.rpm",
          "python-aiohttp-debuginfo-3.7.4-2.oe1.x86_64.rpm",
          "python3-aiohttp-3.7.4-2.oe1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP1",
        "name": "python-aiohttp",
        "purl": "pkg:rpm/openEuler/python-aiohttp\u0026distro=openEuler-20.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.4-2.oe1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-aiohttp-debugsource-3.7.4-2.oe1.aarch64.rpm",
          "python-aiohttp-help-3.7.4-2.oe1.aarch64.rpm",
          "python-aiohttp-debuginfo-3.7.4-2.oe1.aarch64.rpm",
          "python3-aiohttp-3.7.4-2.oe1.aarch64.rpm"
        ],
        "src": [
          "python-aiohttp-3.7.4-2.oe1.src.rpm"
        ],
        "x86_64": [
          "python-aiohttp-help-3.7.4-2.oe1.x86_64.rpm",
          "python-aiohttp-debuginfo-3.7.4-2.oe1.x86_64.rpm",
          "python3-aiohttp-3.7.4-2.oe1.x86_64.rpm",
          "python-aiohttp-debugsource-3.7.4-2.oe1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP3",
        "name": "python-aiohttp",
        "purl": "pkg:rpm/openEuler/python-aiohttp\u0026distro=openEuler-20.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.4-2.oe1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-aiohttp-debuginfo-3.7.4-3.oe2203.aarch64.rpm",
          "python-aiohttp-debugsource-3.7.4-3.oe2203.aarch64.rpm",
          "python-aiohttp-help-3.7.4-3.oe2203.aarch64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203.aarch64.rpm",
          "python-aiohttp-help-3.7.4-3.oe2203sp1.aarch64.rpm",
          "python-aiohttp-debuginfo-3.7.4-3.oe2203sp1.aarch64.rpm",
          "python-aiohttp-debugsource-3.7.4-3.oe2203sp1.aarch64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203sp1.aarch64.rpm",
          "python-aiohttp-help-3.7.4-3.oe2203sp2.aarch64.rpm",
          "python-aiohttp-debuginfo-3.7.4-3.oe2203sp2.aarch64.rpm",
          "python-aiohttp-debugsource-3.7.4-3.oe2203sp2.aarch64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203sp2.aarch64.rpm"
        ],
        "src": [
          "python-aiohttp-3.7.4-3.oe2203.src.rpm",
          "python-aiohttp-3.7.4-3.oe2203sp1.src.rpm",
          "python-aiohttp-3.7.4-3.oe2203sp2.src.rpm"
        ],
        "x86_64": [
          "python-aiohttp-debugsource-3.7.4-3.oe2203.x86_64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203.x86_64.rpm",
          "python-aiohttp-debuginfo-3.7.4-3.oe2203.x86_64.rpm",
          "python-aiohttp-help-3.7.4-3.oe2203.x86_64.rpm",
          "python-aiohttp-debuginfo-3.7.4-3.oe2203sp1.x86_64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203sp1.x86_64.rpm",
          "python-aiohttp-help-3.7.4-3.oe2203sp1.x86_64.rpm",
          "python-aiohttp-debugsource-3.7.4-3.oe2203sp1.x86_64.rpm",
          "python-aiohttp-debuginfo-3.7.4-3.oe2203sp2.x86_64.rpm",
          "python-aiohttp-debugsource-3.7.4-3.oe2203sp2.x86_64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203sp2.x86_64.rpm",
          "python-aiohttp-help-3.7.4-3.oe2203sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS",
        "name": "python-aiohttp",
        "purl": "pkg:rpm/openEuler/python-aiohttp\u0026distro=openEuler-22.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.4-3.oe2203sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-aiohttp-help-3.7.4-3.oe2203sp1.aarch64.rpm",
          "python-aiohttp-debuginfo-3.7.4-3.oe2203sp1.aarch64.rpm",
          "python-aiohttp-debugsource-3.7.4-3.oe2203sp1.aarch64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203sp1.aarch64.rpm"
        ],
        "src": [
          "python-aiohttp-3.7.4-3.oe2203sp1.src.rpm"
        ],
        "x86_64": [
          "python-aiohttp-debuginfo-3.7.4-3.oe2203sp1.x86_64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203sp1.x86_64.rpm",
          "python-aiohttp-help-3.7.4-3.oe2203sp1.x86_64.rpm",
          "python-aiohttp-debugsource-3.7.4-3.oe2203sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP1",
        "name": "python-aiohttp",
        "purl": "pkg:rpm/openEuler/python-aiohttp\u0026distro=openEuler-22.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.4-3.oe2203sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "python-aiohttp-help-3.7.4-3.oe2203sp2.aarch64.rpm",
          "python-aiohttp-debuginfo-3.7.4-3.oe2203sp2.aarch64.rpm",
          "python-aiohttp-debugsource-3.7.4-3.oe2203sp2.aarch64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203sp2.aarch64.rpm"
        ],
        "src": [
          "python-aiohttp-3.7.4-3.oe2203sp2.src.rpm"
        ],
        "x86_64": [
          "python-aiohttp-debuginfo-3.7.4-3.oe2203sp2.x86_64.rpm",
          "python-aiohttp-debugsource-3.7.4-3.oe2203sp2.x86_64.rpm",
          "python3-aiohttp-3.7.4-3.oe2203sp2.x86_64.rpm",
          "python-aiohttp-help-3.7.4-3.oe2203sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP2",
        "name": "python-aiohttp",
        "purl": "pkg:rpm/openEuler/python-aiohttp\u0026distro=openEuler-22.03-LTS-SP2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.4-3.oe2203sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Low"
  },
  "details": "Async http client/server framework (asyncio).\r\n\r\nSecurity Fix(es):\r\n\r\naiohttp 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, we can pass a chunked123 as TE, the frontend entity will ignore this header and will parse Content-Length. The impact of this vulnerability is that it is possible to bypass any proxy rule, poisoning sockets to other users like passing Authentication Headers, also if it is present an Open Redirect an attacker could combine it to redirect random users to another website and log the request. This vulnerability has been addressed in release 3.8.0 of aiohttp. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-47641)",
  "id": "OESA-2023-1854",
  "modified": "2026-08-06T11:06:18Z",
  "published": "2023-11-24T11:06:18Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1854"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47641"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "python-aiohttp security update",
  "upstream": [
    "CVE-2023-47641"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…