Skip to content
Heist/ feed
Back to feed
High

aiohttp's ClientSession is vulnerable to CRLF injection via version

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-49081
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:13 UTC · Revision 1

Source evidence

aiohttp's ClientSession is vulnerable to CRLF injection via version

core-osv · Original source

Published 30 Nov 2023, 06:56 UTC

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.

osv:CVE-2023-49081
Complete source record
{
  "id": "b990b1133008b8fceadca8e7d7c2ef2741cf3e3029cd5a05c130401503f8e596",
  "url": "https://osv.dev/vulnerability/CVE-2023-49081",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "aiohttp's ClientSession is vulnerable to CRLF injection via version",
    "summary": "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.",
    "evidence": "osv:CVE-2023-49081",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-49081",
      "aliases": [
        "CVE-2023-49081",
        "GHSA-q3qx-c6g2-7pw2",
        "PYSEC-2023-250"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/aio-libs/aiohttp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "45b2c2c5773f0ee0d35fce8ff5716c78e91d9135"
                },
                {
                  "fixed": "1e86b777e61cf4eefc7d92fa57fa19dcc676013b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.9.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1e86b777e61cf4eefc7d92fa57fa19dcc676013b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.9.0rc0",
            "v3.9.0b1",
            "v3.9.0b0",
            "v3.8.0",
            "v3.7.1",
            "v3.7.0",
            "v3.7.0b1",
            "v3.7.0b0",
            "v3.6.2",
            "v3.6.2a2",
            "v3.6.2a1",
            "v4.0.0a1",
            "v3.6.1",
            "v3.6.1b4",
            "v3.6.1b3",
            "v3.6.0",
            "v3.6.0b0",
            "v3.6.0a12",
            "v3.6.0a11",
            "v3.6.0a10",
            "v3.6.0a9",
            "v3.6.0a8",
            "v3.6.0a7",
            "v3.6.0a6",
            "v3.6.0a5",
            "v3.6.0a4",
            "v3.6.0a3",
            "v3.6.0a2",
            "v3.6.0a1",
            "v3.6.0a0",
            "v3.5.4",
            "v3.5.3",
            "v3.5.2",
            "v4.0.0a0",
            "v3.5.1",
            "v3.5.0",
            "v3.5.0b3",
            "v3.5.0b2",
            "v3.5.0b1",
            "v3.5.0a1",
            "v3.4.0",
            "v3.4.0b2",
            "v3.4.0b1",
            "v3.4.0a3",
            "v3.4.0a0",
            "v3.2.0",
            "v3.1.0",
            "v3.0.0b4",
            "v3.0.0b3",
            "v3.0.0b2",
            "v3.0.0b1",
            "v3.0.0b0",
            "v2.3.0",
            "v2.3.0a4",
            "v2.3.0a3",
            "v2.3.0a2",
            "v2.3.0a1",
            "v2.2.0",
            "v2.1.0",
            "2.0.0",
            "2.0.0rc1",
            "1.3.0",
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0",
            "v0.22.1",
            "v0.22.0",
            "v0.22.0b6",
            "v0.22.0b5",
            "v0.22.0b4",
            "v0.22.0b3",
            "v0.22.0b2",
            "v0.22.0b1",
            "v0.22.0b0",
            "4v0.21.6",
            "v0.21.0",
            "v0.20.1",
            "v0.20.0",
            "v0.19.0",
            "v0.18.0",
            "v0.17.0",
            "v0.16.3",
            "v0.16.2",
            "v0.16.1",
            "v0.16.0",
            "v0.15.3",
            "0.15.2",
            "v0.15.2",
            "v0.15.1",
            "v0.15.0",
            "v0.14.4",
            "v0.14.3",
            "v0.14.2",
            "v0.14.1",
            "v0.14.0",
            "v0.13.1",
            "v0.13.0",
            "v0.12.0",
            "v0.11.0",
            "v0.10.1",
            "v0.10.0",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.4",
            "v0.8.3",
            "0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v.0.6.5",
            "v0.6.4",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.5.0",
            "v0.4.2",
            "v0.4.1",
            "v0.4",
            "v0.3",
            "v0.2",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49081.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.357853366Z",
      "provider": "osv",
      "references": [
        "https://gist.github.com/jnovikov/184afb593d9c2114d77f508e0ccd508e",
        "https://github.com/aio-libs/aiohttp/pull/7835/files",
        "https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49081.json",
        "https://github.com/aio-libs/aiohttp/security/advisories/GHSA-q3qx-c6g2-7pw2",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-49081",
        "https://github.com/aio-libs/aiohttp/commit/1e86b777e61cf4eefc7d92fa57fa19dcc676013b"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49081.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-49081",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508916,
  "published_at": "2023-11-30T06:56:26.348+00:00"
}