Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3737

A flaw was found in python. An improperly handled HTTP response in the HTTP client code of python may allow a remote attacker, who controls the HTTP server, to make the client script enter an infinite loop, consuming CPU time. The highest threat from this vulnerability is to system availability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3737
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:50 UTC · Revision 1

Source evidence

CVE-2021-3737

core-osv · Original source

Published 4 Mar 2022, 19:15 UTC

A flaw was found in python. An improperly handled HTTP response in the HTTP client code of python may allow a remote attacker, who controls the HTTP server, to make the client script enter an infinite loop, consuming CPU time. The highest threat from this vulnerability is to system availability.

osv:CVE-2021-3737
Complete source record
{
  "id": "355107c4a20e2bc78dee6bf41cccf1925a9aed76cdb45dcd0f14ff8cd4b506ed",
  "url": "https://osv.dev/vulnerability/CVE-2021-3737",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3737",
    "summary": "A flaw was found in python. An improperly handled HTTP response in the HTTP client code of python may allow a remote attacker, who controls the HTTP server, to make the client script enter an infinite loop, consuming CPU time. The highest threat from this vulnerability is to system availability.",
    "evidence": "osv:CVE-2021-3737",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-3737",
      "aliases": [
        "BIT-libpython-2021-3737",
        "BIT-python-2021-3737",
        "BIT-python-min-2021-3737",
        "CVE-2021-3737",
        "PSF-2022-7"
      ],
      "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": [
            {
              "repo": "https://github.com/python/cpython",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5c4568a05a0a62b5947c55f68f9f2ecfb90a4f12"
                },
                {
                  "fixed": "9a0099d1bf14bce417370aae6d55527417cda354"
                },
                {
                  "introduced": "1bf9cc509326bc42cd8cb1650eb9bf64550d817e"
                },
                {
                  "fixed": "9da28d2b3429d1bb30e082e4c9cb544d81fdae20"
                },
                {
                  "introduced": "fa919fdf2583bdfead1df00e842f24f30b2a34bf"
                },
                {
                  "fixed": "c3ffbbdf3d5645ee07c22649f2028f9dffc762ba"
                },
                {
                  "introduced": "9cf6752276e6fcfd0c23fdb064ad27f448aaaf75"
                },
                {
                  "fixed": "db3ff76da19004f266b62e98a81bdfd322861436"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.6.0"
                      },
                      {
                        "fixed": "3.6.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.7.0"
                      },
                      {
                        "fixed": "3.7.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.8.0"
                      },
                      {
                        "fixed": "3.8.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.9.0"
                      },
                      {
                        "fixed": "3.9.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3737.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:49.218214938Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
        "https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html",
        "https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html",
        "https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html",
        "https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html",
        "https://security.netapp.com/advisory/ntap-20220407-0009/",
        "https://bugs.python.org/issue44022",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1995162",
        "https://github.com/python/cpython/pull/25916",
        "https://github.com/python/cpython/pull/26503",
        "https://python-security.readthedocs.io/vuln/urllib-100-continue-loop.html",
        "https://ubuntu.com/security/CVE-2021-3737",
        "https://www.oracle.com/security-alerts/cpujul2022.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  },
                  {
                    "introduced": "20.04"
                  },
                  {
                    "last_affected": "20.04"
                  },
                  {
                    "introduced": "21.04"
                  },
                  {
                    "last_affected": "21.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:22.1.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_binding_support_function",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "22.1.3"
                  },
                  {
                    "last_affected": "22.1.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_network_exposure_function:22.1.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_network_exposure_function",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "22.1.1"
                  },
                  {
                    "last_affected": "22.1.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_policy:22.2.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_policy",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "22.2.0"
                  },
                  {
                    "last_affected": "22.2.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:codeready_linux_builder:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:codeready_linux_builder",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:codeready_linux_builder_for_ibm_z_systems",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:redhat:codeready_linux_builder_for_power_little_endian:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:codeready_linux_builder_for_power_little_endian",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_for_ibm_z_systems",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux_for_power_little_endian",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-3737",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386203,
  "published_at": "2022-03-04T19:15:08.73+00:00"
}