Skip to content
Heist/ feed
Back to feed
High

CVE-2022-45061 affecting package python-py 1.11.0-1

Type: advisorySources: OSV

An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor; in such a scenario, they could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied supposed hostname. For example, the attack payload could be placed in the Location header of an HTTP response with status code 302. A fix is planned in 3.11.1, 3.10.9, 3.9.16, 3.8.16, and 3.7.16.

Products
python-py
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-45061
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:27 UTC · Revision 1

Source evidence

CVE-2022-45061 affecting package python-py 1.11.0-1

core-osv · Original source

Published 9 Nov 2022, 07:15 UTC

An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor; in such a scenario, they could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied supposed hostname. For example, the attack payload could be placed in the Location header of an HTTP response with status code 302. A fix is planned in 3.11.1, 3.10.9, 3.9.16, 3.8.16, and 3.7.16.

osv:AZL-109644

python-py

Fixed versions: Not specified

Complete source record
{
  "id": "51314adf55f1863d8f1ca0ff5e4e106a83715d8a87ae827184d78a90b4d8c9ee",
  "url": "https://osv.dev/vulnerability/AZL-109644",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-45061 affecting package python-py 1.11.0-1",
    "summary": "An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor; in such a scenario, they could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied supposed hostname. For example, the attack payload could be placed in the Location header of an HTTP response with status code 302. A fix is planned in 3.11.1, 3.10.9, 3.9.16, 3.8.16, and 3.7.16.",
    "evidence": "osv:AZL-109644",
    "products": [
      {
        "name": {
          "value": "python-py",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "AZL-109644",
      "aliases": [
        "AZL-109644"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.11.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-py",
            "purl": "pkg:rpm/azure-linux/python-py",
            "ecosystem": "Azure Linux:3"
          },
          "database_specific": {
            "source": "https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-109644.json"
          }
        }
      ],
      "modified": "2026-10-27T05:36:16Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-45061"
      ],
      "references": [
        "https://nvd.nist.gov/vuln/detail/CVE-2022-45061"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-45061",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460504,
  "published_at": "2022-11-09T07:15:09+00:00"
}