Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like '\r' and '\n' in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks. This flaw affects Python versions prior to 3.10.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.

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

Source evidence

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

core-osv · Original source

Published 9 Feb 2022, 23:15 UTC

A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like '\r' and '\n' in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks. This flaw affects Python versions prior to 3.10.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.

osv:AZL-109641

python-py

Fixed versions: Not specified

Complete source record
{
  "id": "9db1352dc30719198d7bc10c35a3bbd6150a261f100762db1a14bcc2f8e33c9d",
  "url": "https://osv.dev/vulnerability/AZL-109641",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-0391 affecting package python-py 1.11.0-1",
    "summary": "A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like '\\r' and '\\n' in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks. This flaw affects Python versions prior to 3.10.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.",
    "evidence": "osv:AZL-109641",
    "products": [
      {
        "name": {
          "value": "python-py",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "AZL-109641",
      "aliases": [
        "AZL-109641"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "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-109641.json"
          }
        }
      ],
      "modified": "2026-10-27T05:36:16Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-0391"
      ],
      "references": [
        "https://nvd.nist.gov/vuln/detail/CVE-2022-0391"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-0391",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460505,
  "published_at": "2022-02-09T23:15:16+00:00"
}