Skip to content
Heist/ feed
Back to feed
HighFix available

pypy3 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-0391

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
pypy3
Affected versions
Not specified
Fixed versions
7.3.6+dfsg-1
CVEs
CVE-2022-0391
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:43 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-0391

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:DEBIAN-CVE-2022-0391

pypy3

Fixed versions: 7.3.6+dfsg-1

pypy3

Fixed versions: 7.3.6+dfsg-1

pypy3

Fixed versions: 7.3.6+dfsg-1

Complete source record
{
  "id": "fa2fcc482d975a1b93ef42cec148aca5f3093b40ac37ccd5ef3c90248a777065",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-0391",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-0391",
    "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:DEBIAN-CVE-2022-0391",
    "products": [
      {
        "name": {
          "value": "pypy3",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.3.6+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pypy3",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.3.6+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pypy3",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.3.6+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-0391",
      "aliases": [
        "DEBIAN-CVE-2022-0391"
      ],
      "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"
                },
                {
                  "fixed": "7.3.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "pypy3",
            "purl": "pkg:deb/debian/pypy3?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-0391.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.3.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "pypy3",
            "purl": "pkg:deb/debian/pypy3?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-0391.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.3.6+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "pypy3",
            "purl": "pkg:deb/debian/pypy3?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-0391.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:37.736402490Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-0391"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/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": 328041,
  "published_at": "2022-02-09T23:15:16.58+00:00"
}